Fields

allocator: Allocator,
socket: net.StreamServer,

Functions

fn accept(server: *Server, options: AcceptOptions) AcceptError!Response

Accept a new connection.

fn deinit(server: *Server) void

No documentation provided.

fn init(allocator: Allocator, options: net.StreamServer.Options) Server

No documentation provided.

fn listen(server: *Server, address: net.Address) !void

Start the HTTP server listening on the given address.

Values