Directories
¶
| Path | Synopsis |
|---|---|
|
Package client_code_generation writes the TypeScript a browser calls a mux's endpoints with: one function per endpoint, taking and returning the types the endpoint declares, so that a change to what an endpoint accepts is a compile error in the code calling it rather than a failure at the request.
|
Package client_code_generation writes the TypeScript a browser calls a mux's endpoints with: one function per endpoint, taking and returning the types the endpoint declares, so that a change to what an endpoint accepts is a compile error in the code calling it rather than a failure at the request. |
|
types/forwarded_headers
Package forwarded_headers reads what the proxies in front of a service say about the request the client actually made: RFC 7239's `Forwarded`, and the older `X-Forwarded-*` headers it replaced.
|
Package forwarded_headers reads what the proxies in front of a service say about the request the client actually made: RFC 7239's `Forwarded`, and the older `X-Forwarded-*` headers it replaced. |
|
types/request_parser/choice_request_parser
Package choice_request_parser admits a request that any one of several parsers admits.
|
Package choice_request_parser admits a request that any one of several parsers admits. |
|
types/request_parser/choice_request_parser/choice_request_parser_config
Package choice_request_parser_config holds the settings of an ordered-choice request parser.
|
Package choice_request_parser_config holds the settings of an ordered-choice request parser. |
|
types/request_parser/jwk_jwt_parser
Package jwk_jwt_parser assembles a request parser that takes a JWT from a header and verifies it against a published JWK set.
|
Package jwk_jwt_parser assembles a request parser that takes a JWT from a header and verifies it against a published JWK set. |
|
Package openapi writes the OpenAPI document describing a mux's endpoints: one operation per endpoint, taking and returning the types the endpoint declares, so that what the document says and what the server does come from one source.
|
Package openapi writes the OpenAPI document describing a mux's endpoints: one operation per endpoint, taking and returning the types the endpoint declares, so that what the document says and what the server does come from one source. |
|
types
Package types holds the OpenAPI document model: the objects a document is made of, shaped so that marshalling one produces the document.
|
Package types holds the OpenAPI document model: the objects a document is made of, shaped so that marshalling one produces the document. |
|
fetch_config/retry_config/response_checker
Package response_checker decides, from what an attempt came back with, whether it is worth making again.
|
Package response_checker decides, from what an attempt came back with, whether it is worth making again. |
|
js_error_report
Package js_error_report holds what a page's own JavaScript reports about the errors it ran into: the bodies of the reports it posts, as opposed to the ones a browser posts on its own through the Reporting API.
|
Package js_error_report holds what a page's own JavaScript reports about the errors it ran into: the bodies of the reports it posts, as opposed to the ones a browser posts on its own through the Reporting API. |
|
security_txt
Package security_txt reads the file a host serves at /.well-known/security.txt to say how a vulnerability in it should be reported.
|
Package security_txt reads the file a host serves at /.well-known/security.txt to say how a vulnerability in it should be reported. |
|
www_authenticate
Package www_authenticate renders the challenges a 401 carries in WWW-Authenticate (RFC 9110 §11.6.1), and the Bearer ones RFC 6750 §3 defines for a request with a token that was refused.
|
Package www_authenticate renders the challenges a 401 carries in WWW-Authenticate (RFC 9110 §11.6.1), and the Bearer ones RFC 6750 §3 defines for a request with a token that was refused. |
Click to show internal directories.
Click to hide internal directories.