scoop:scoop.http.asyncio:0.1.0
scoop.http.asyncio
API
-
class
AsyncHttp1Body
The single-pass body of an incoming HTTP/1 message. Completing it establishes framing completion and makes trailers available; abandoning it can prevent connection reuse.
-
class
AsyncHttp1Connection
An HTTP/1 client or server over an already-established asynchronous transport. It owns transport cleanup and serializes each direction. Complete each message body before reusing that direction or transferring an upgraded transport.
-
class
AsyncHttp1Writer
The single active output body of an HTTP/1 exchange. Explicit finish writes the selected framing terminator and trailers.
-
class
AsyncHttp2Connection
An owned multiplexed HTTP/2 connection driven by structured tasks in the supplied scope. Per-stream cancellation resets only that stream; connection or scope closure ends shared transport I/O.
-
class
AsyncHttp2Stream
One multiplexed HTTP/2 exchange. Serialize operations within each direction; different streams can progress independently. Reading returns flow-control credit as data is consumed.
-
class
AsyncWebSocketSession
A structured WebSocket session over an already-upgraded transport. Background tasks handle control frames and bounded message backpressure; serialize message operations in each direction.
-
class
AwsEventStreamSource
A demand-driven AWS EventStream reader over a borrowed source by default.
-
class
Http1IncomingRequest
A received request head paired with its single-pass asynchronous body.
-
class
Http1IncomingResponse
A received response head, single-pass body, and optional captured first-byte timestamp.
-
class
Http1ResponseProgress
Body progress for one completed or failed immutable-array response operation.
-
class
Http2ConnectionDrainingException
No new stream was submitted because the HTTP/2 connection is draining.
-
class
Http2IncomingRequest
A received request head paired with its independently controlled HTTP/2 stream.
-
enum
Http2Notice
A non-suspending notification delivered outside the native/session lock. An observer exception terminates the connection.
-
enum
HttpIoDirection
The I/O direction whose idle deadline expired.
-
class
HttpIoTimeoutException
Reports an idle timeout with protocol, stream, direction, configured limit, and measured elapsed time.
-
struct
HttpIoTimeoutOptions
Optional read-idle and write-idle deadlines for protocol I/O progress.
-
class
HttpTransport
Owns a transport plus a preserved input prefix, allowing protocol handoff without losing bytes read past the previous protocol boundary.
-
class
MultipartBody
The current multipart part body, ending at its boundary rather than at transport EOF.
-
class
MultipartDiscardLimitException
Discarding a multipart body exceeded the caller's explicit byte limit.
-
class
MultipartPart
A received multipart header paired with its single-pass body.
-
class
MultipartPartWriter
The active multipart output part. Finish writes its boundary; flush does not end the part.
-
class
MultipartSink
A sequential multipart writer over a borrowed sink by default. Finish each part and then the whole multipart message explicitly.
-
class
MultipartSource
A sequential multipart reader over a borrowed source by default. Finish or explicitly discard the current part before requesting another.
-
class
NdjsonSource
A demand-driven NDJSON record reader that borrows its input by default.
-
class
SseSink
Serial SSE output over a borrowed sink; closing releases only local resources.
-
class
SseSource
A single-pass event-stream reader over a borrowed source by default. It tracks last-event ID and retry fields but does not open or reconnect network transports.
-
enum
WebSocketFailureKind
Session-lifecycle failures distinct from low-level frame validation errors.
-
class
WebSocketMessage
A single incoming message exposed as a byte source. Its cursor advances once; aggregation methods collect only unread content.
-
class
WebSocketMessageWriter
The active outgoing message. Short writes respect configured frame size; finish emits FIN after any compression boundary completes.
-
class
WebSocketSessionException
A session failure with portable kind, explanatory text, optional peer close, and original cause.
-
class
WebSocketSessionOptions
Incoming frame limits, bounded read/write buffers, graceful-close deadline, and decompressed-message limit for a WebSocket session.
- class WebSocketSessionOptionsBuilder
- function copy
-
function
webSocketSessionOptions
Configures one complete value; execution remains explicit.