Skip to main content

Module server

Module server 

Source

Structs§

ApiError
API error response.
CredentialEnvVars
Credential environment variables returned by the server.
CredentialRequest
Request to issue scoped credentials via the server API.
CredentialResponse
Response from the credential issuance endpoint.
ServerConfig
Server configuration.

Functions§

http_response
Simple HTTP response builder.
json_error
json_ok
parse_http_request
Parse a minimal HTTP request: returns (method, path, body).