Modules§
- client
- HTTP client components.
- hyper
- hyper
- server
- HTTP server components
- util
- HTTP utilities for request/response conversion.
Structs§
- Http
Notification Payload - The JSON payload for a server-side event/notification.
- Http
Request - Represents an HTTP request.
- Http
Response - Represents an HTTP response
- Protocol
Http Error - Body for an HTTP error response.
Enums§
- Modal
Http Response - A multilink HTTP response.
Traits§
- Request
Http Convert - A request that can convert to and from a
HttpRequest<Body>
. - Response
Http Convert - A response that can convert to and from a
ModalHttpResponse
.
Functions§
- generic_
error - Creates a generic
ProtocolError
using the HTTP status code description (i.e. “Bad Request” or “Not Found”) as the error text.