Module

Node.Websocket.Types

Package
purescript-node-websocket
Repository
juspay/purescript-node-websocket

#WSSERVER Source

#WSServer Source

data WSServer :: Type

#WSRequest Source

data WSRequest :: Type

#WSConnection Source

#CloseReason Source

newtype CloseReason

Constructors

#CloseDescription Source

#ServerConfig Source

type ServerConfig = { assembleFragments :: Boolean, autoAcceptConnections :: Boolean, closeTimeout :: Int, disableNagleAlgorithm :: Boolean, dropConnectionOnKeepaliveTimeout :: Boolean, fragmentOutgoingMessages :: Boolean, fragmentationThreshold :: Int, httpServer :: Server, ignoreXForwardedFor :: Boolean, keepalive :: Boolean, keepaliveGracePeriod :: Int, keepaliveInterval :: Int, maxReceivedFrameSize :: Int, maxReceivedMessageSize :: Int, useNativeKeepalive :: Boolean }

#Frame Source

type Frame r = { type :: String | r }

#TextFrame Source

newtype TextFrame

Constructors

#BinaryFrame Source

newtype BinaryFrame

Constructors