Module node_info

Module node_info 

Source
Expand description

Adds an information about the running cat-gateway instance for each response headers.

Structsยง

CatGatewayInfo ๐Ÿ”’
Middleware type that returns a response with 503 status code if any DB stops responding before returning the wrapped endpoint.
CatGatewayInfoImpl ๐Ÿ”’
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