Current section
Files
Jump to
Current section
Files
include/stratus_Builder.hrl
-record(builder, {
request :: gleam@http@request:request(binary()),
connect_timeout :: integer(),
init :: fun(() -> {any(),
gleam@option:option(gleam@erlang@process:selector(any()))}),
loop :: fun((any(), stratus:message(any()), stratus:connection()) -> stratus:next(any(), any())),
on_close :: fun((any()) -> nil),
on_handshake_error :: fun((gleam@http@response:response(bitstring())) -> nil)
}).