wt_connection_close function

wt_status_t wt_connection_close(
  1. Pointer<wt_connection_t> connection,
  2. int error_code,
  3. Pointer<Uint8> reason,
  4. int reason_len,
)

Implementation

wt_status_t wt_connection_close(
  ffi.Pointer<wt_connection_t> connection,
  int error_code,
  ffi.Pointer<ffi.Uint8> reason,
  int reason_len,
) {
  return wt_status_t.fromValue(
    _wt_connection_close(connection, error_code, reason, reason_len),
  );
}