Packages

LiveView-style runtime for Gleam.

Current section

Files

Jump to
lightspeed include lightspeed@framework@endpoint_Endpoint.hrl
Raw

include/lightspeed@framework@endpoint_Endpoint.hrl

-record(endpoint, {
websocket_path :: binary(),
auth_hook :: lightspeed@transport@contract:auth_hook(),
middleware_rev :: list(fun((lightspeed@framework@http:conn()) -> lightspeed@framework@http:conn())),
routes_rev :: list(lightspeed@framework@endpoint:route()),
static_assets_rev :: list(lightspeed@framework@endpoint:static_asset())
}).