Expand description
Adds an information about the running cat-gateway instance for each response headers.
Structsยง
- CatGateway
Info ๐ - Middleware type that returns a response with 503 status code if any DB stops responding before returning the wrapped endpoint.
- CatGateway
Info ๐Impl - The new endpoint type generated by the
CatGatewayInfo
.
Constantsยง
- CUSTOM_
HEADER_ ๐PREFIX - A prefix for any custom header field https://datatracker.ietf.org/doc/html/rfc6648#appendix-B
Functionsยง
- server_
info ๐ - Returns a cat-gateway server info in the following format,
based on the
User-Agent
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent