ITransport Type

Instance members

Instance member Description

this.flush ()

Full Usage: this.flush ()

Returns: SocketOp<unit>
Modifiers: abstract

Flush any data still buffered above the kernel send queue. For transports that write straight to the socket (`TcpTransport`) this is a no-op; for buffered transports such as `SslTransport` it awaits the underlying stream's `FlushAsync` so callers can be sure their bytes have left the application layer before the connection is torn down (see `Http2.bestEffortGoAway` for the motivating case).

Returns: SocketOp<unit>

this.read arg1

Full Usage: this.read arg1

Parameters:
Returns: SocketOp<int>
Modifiers: abstract
arg0 : Memory<byte>
Returns: SocketOp<int>

this.shutdown ()

Full Usage: this.shutdown ()

Modifiers: abstract

this.write arg1

Full Usage: this.write arg1

Parameters:
Returns: SocketOp<unit>
Modifiers: abstract
arg0 : Memory<byte>
Returns: SocketOp<unit>