NativeSendStream class final
The writing half of a stream.
- Implemented types
Constructors
-
NativeSendStream(Pointer<
wt_send_stream_t> _handle)
Properties
-
handle
→ Pointer<
wt_send_stream_t> -
The underlying native handle (native only).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
QUIC stream id.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendOrder ↔ int?
-
Relative send order; higher values are transmitted first.
getter/setter pairoverride
Methods
-
abort(
[int errorCode = 0]) → Future< void> -
Aborts the stream with an application error code, dropping buffered data.
override
-
close(
) → Future< void> -
Gracefully finishes the stream.
override
-
dispose(
) → void - Releases the handle.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
List< int> data) → Future<void> -
Writes
data, completing once the transport accepted all of it.override -
writeBuffer(
NativeBuffer buffer) → Future< void> - Writes a native buffer without copying it in Dart (native only).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited