View Source simple_bridge_websocket (simple_bridge v2.3.0)

Link to this section Summary

Link to this section Types

-type bridge() :: #sbw{}.

Link to this section Functions

Link to this function

attempt_hijacking(Bridge, Handler)

View Source
-spec attempt_hijacking(bridge(), Handler :: atom()) ->
                     spared | {hijacked, closed} | {hijacked, bridge()}.
Link to this function

call_init(Handler, Bridge)

View Source
Link to this function

keepalive_timeout(KAInterval, KATimeout)

View Source
Link to this function

schedule_keepalive_msg(KAInterval)

View Source
Link to this function

websocket_loop(Socket, Bridge, Handler, KAInterval, KATimeout, PongTimer, State, PartialData)

View Source