scoop:scoop.http.server:0.1.0
scoop.http.server
API
-
class
FileResponseOptions
Metadata and bounded copying for one explicitly selected file representation.
- class FileResponseOptionsBuilder
-
class
HttpApplication
An immutable routing table and request pipeline, reusable across server instances.
-
class
HttpApplicationOptions
Application-level error handling, independent of the server's transport configuration.
- class HttpApplicationOptionsBuilder
-
enum
HttpBody
The response body; streams acquire and release their own resources during execution.
-
class
HttpBodyWriter
A borrowed output view valid only while the framework executes one response body.
-
class
HttpConnectionInfo
Immutable connection metadata; forwarded headers never replace these socket addresses.
-
class
HttpContext
One request's explicit context; it is also bound by exact type while its pipeline executes.
-
typealias
HttpExtractor
A suspending, statically typed extraction step inside the existing request scope.
-
class
HttpFileBody
A deferred file description, without an open handle or acquired resource.
-
typealias
HttpHandler
A suspending endpoint returning a response description.
-
typealias
HttpMiddleware
A request middleware that either delegates once, responds, or throws.
-
typealias
HttpNext
A single-use continuation that waits for the entire downstream response.
-
class
HttpRejection
An expected request rejection carrying the response selected by the application or extractor.
-
class
HttpRequest
The immutable protocol request head with lazily parsed application input.
-
class
HttpRequestBody
A request body with one explicit consumption path and bounded input and decoding.
-
class
HttpRequestBodyView
Facts about the selected body view; the original request head remains unchanged.
-
class
HttpRequestCompletion
Completion facts detached from the mutable request and its resource lifetimes.
-
class
HttpRequestOptions
Immutable limits, deadline and completion observation for one application request.
- class HttpRequestOptionsBuilder
-
enum
HttpRequestOutcome
The request pipeline's final outcome after cleanup.
-
class
HttpResponse
Response mutations allowed before execution, with read-only completion facts afterwards.
-
class
HttpResponseDraft
A mutable response draft, valid only during its beforeCommit callback sequence.
-
class
HttpResult
An immutable ordinary response description; it does not own an already-open source.
- class HttpResultBuilder
-
class
HttpRouteInfo
The stable metadata of a selected route resource.
-
class
HttpServer
Owns an accept loop, its connections and their structured request tasks.
-
class
HttpServerOptions
Transport, capacity and timeout configuration for an owned HTTP server.
- class HttpServerOptionsBuilder
-
class
HttpServerTimeoutException
A server-owned deadline that expired after its operation's cleanup completed.
-
class
HttpStreamBody
A suspending producer and its optional original-content length and final trailers.
-
class
HttpWebSocketBody
Deferred upgrade policy and a callback that acquires its own session resources.
-
class
HttpWebSocketCompletion
Final facts for an upgraded connection, including handoffs stopped before business work starts.
-
enum
HttpWebSocketOutcome
A WebSocket connection's outcome after all local cleanup has completed.
-
class
PathParameters
Captured route parameters with explicit raw-byte and strict UTF-8 access.
-
class
QueryCodecException
Reports a codec shape that cannot be represented by a flat query record.
-
class
QueryDecodeOptions
Options for decoding a flat query record.
-
enum
QueryUnknownFields
Controls fields that the query record codec does not access.
-
class
RequestCookies
Lazily parsed cookies retaining all duplicate values in arrival order.
-
class
RequestDecompressionOptions
Request content coding policy, installed before choosing a body consumer.
- class RequestDecompressionOptionsBuilder
-
class
RequestHeaders
Ordered request fields without implicit merging or text conversion.
-
class
RequestMultipart
A single-pass form-data view, borrowing the underlying HTTP request body.
-
class
RequestMultipartOptions
Bounded form-data parsing and per-part consumption options.
- class RequestMultipartOptionsBuilder
-
class
RequestPart
One ordered form-data part with strict text metadata and a single body consumption path.
-
class
RequestQuery
Ordered query fields with strict single-value conversion helpers.
-
class
ResponseCompressionOptions
Response coding preferences and the conditions for dynamic compression.
- class ResponseCompressionOptionsBuilder
-
class
ResponseCookies
Response-only cookie operations using the existing HTTP cookie model.
-
class
RouteGroup
A configuration-only group sharing its builder's freeze boundary.
-
class
RouterBuilder
Route configuration valid only until routing publishes its application.
-
class
SseOptions
SSE endpoint behavior; application replay and subscription state remain external.
- class SseOptionsBuilder
-
class
SseWriter
A borrowed, serial event writer, valid only during its SSE producer.
-
class
StaticFileOptions
Explicit wildcard mapping, directory indexes and an optional missing-file response.
- class StaticFileOptionsBuilder
-
class
WebSocketContext
Immutable upgrade facts without an HTTP request, response or request-scoped resource.
-
class
WebSocketOptions
Explicit HTTP/1 upgrade policy and independent session configuration.
- class WebSocketOptionsBuilder
-
function
adapt
Extracts once, then invokes the handler only after extraction succeeds.
-
function
bytes
Copies bytes into a response with an explicit media type.
- function copy
-
function
empty
Builds an empty response with the supplied final status and fields.
-
function
executeHttp1
Executes the connection's current unread request in its own structured request scope. The caller owns the connection, head reception, request identifiers and loop fairness. Returns after response execution, request cleanup and completion observation. Protocol failure or unread input may close the borrowed connection; successful calls may reuse it. Transport upgrades require HttpServer's ownership path and are rejected before commit.
-
function
file
Describes a file to open, inspect, send and close during response execution.
-
function
fileResponseOptions
Configures one complete value; execution remains explicit.
-
function
httpApplicationOptions
Configures one complete value; execution remains explicit.
-
function
httpRequestOptions
Builds reusable application-request configuration without starting any work.
-
function
httpResult
Configures one complete value; execution remains explicit.
-
function
httpServerOptions
Configures one complete value; execution remains explicit.
-
function
json
Encodes a JSON response using an explicit codec.
-
function
jsonExtractor
Builds a JSON extraction step using an explicit codec and optional aggregation limit.
-
function
queryExtractor
Builds a query extraction step using an explicit record codec.
-
function
redirect
Builds a redirect without acquiring any response resource.
-
function
requestDecompression
Configures the downstream request body without reading input or sending 100 Continue.
-
function
requestDecompressionOptions
Configures one complete value; execution remains explicit.
-
function
requestMultipartOptions
Configures one complete value; execution remains explicit.
-
function
responseCompression
Installs compression for the full downstream response, restoring an enclosing policy on exit.
-
function
responseCompressionOptions
Configures one complete value; execution remains explicit.
-
function
routing
Configures routes and freezes their shared state before publishing the application.
-
function
sse
Builds an SSE stream that flushes its headers before running the producer.
-
function
staticFileOptions
Configures one complete value; execution remains explicit.
-
function
staticFiles
Maps a terminal wildcard's once-decoded segments onto an application-selected root.
-
function
stream
Builds a streaming response whose producer remains inside all enclosing middleware scopes.
-
function
text
Builds a UTF-8 text response.
-
function
webSocket
Requests an HTTP/1.1 upgrade; the session callback starts only after the HTTP pipeline exits.
-
function
webSocketOptions
Configures one complete value; execution remains explicit.