server library

Classes

FormDataEntry
FormData entry base class.
FormDataFile
FormData file field entry.
FormDataString
FormData string field entry.
HttpMessage
Abstract http message class.
Request<T>
HTTP request.
Response
HTTP Response.
Server<S, R>
The spry server.
ServerOptions
Spry server options.

Extension Types

FormData
Form-data type.
Headers
The HTTP Headers.
URLSearchParams
URL search params.

Functions

serve({String? hostname, int? port, bool? reusePort, required ServerHandler fetch}) Server
Creates a Corss-Server.

Typedefs

CrossFile = XFile
A CrossFile is a cross-platform, simplified File abstraction.
ServerHandler = FutureOr<Response> Function(Request request, Server server)
Spry server handler.