-record(builder, { request :: gleam@http@request:request(binary()), connect_timeout :: integer(), init :: fun(() -> {any(), gleam@option:option(gleam@erlang@process:selector(any()))}), loop :: fun((stratus:message(any()), any(), stratus:connection()) -> gleam@otp@actor:next(any(), any())), on_close :: fun((any()) -> nil), on_handshake_error :: fun((gleam@http@response:response(bitstring())) -> nil) }).