API Reference
These pages hold the docstrings of HTTP.jl's public API. The guides explain how the pieces fit together.
Module
HTTP.HTTP — Module
HTTPAn HTTP client and server library for HTTP/1.1 and HTTP/2, with WebSockets and server-sent events. Reseau provides the TCP, DNS, and TLS layers.
request, andget,post,put,patch,delete,head,options, andquery, send a request and return the response.openstreams a request and its response.serve!andserverun a server whose handler maps aRequestto aResponse.listen!andlistenrun a server whose handler reads and writes aStream.WebSocketshas the WebSocket client and server.SSEEventandsse_streamsend server-sent events.
Reference Map
- Core API: requests, responses, headers, errors, bodies, cookies, forms, proxies, and HTTP/2 settings.
- Client API:
Client,Transport, the request functions, streaming, retries, and trace events. - Server API:
Server,Stream, routing, middleware, static files, and server-sent events. - WebSockets API: WebSocket clients, servers, and messages.