websocket-driver

API Reference

websocket-driver

WebSocket protocol handler

No packages.

websocket-driver-base

WebSocket protocol handler

WEBSOCKET-DRIVER

  • Function WEBSOCKET-P (env)

Also exports

  • EVENT-EMITTER:ON
  • WEBSOCKET-DRIVER.WS.BASE:START-CONNECTION
  • WEBSOCKET-DRIVER.WS.BASE:SOCKET
  • WEBSOCKET-DRIVER.WS.BASE:READY-STATE
  • EVENT-EMITTER:REMOVE-LISTENER
  • WEBSOCKET-DRIVER.WS.BASE:VERSION
  • EVENT-EMITTER:EMIT
  • EVENT-EMITTER:LISTENER-COUNT
  • EVENT-EMITTER:ADD-LISTENER
  • WEBSOCKET-DRIVER.WS.BASE:SEND
  • WEBSOCKET-DRIVER.WS.BASE:CLOSE-CONNECTION
  • WEBSOCKET-DRIVER.WS.BASE:ADDITIONAL-HEADERS
  • WEBSOCKET-DRIVER.WS.BASE:SEND-TEXT
  • WEBSOCKET-DRIVER.WS.BASE:SEND-PING
  • WEBSOCKET-DRIVER.WS.BASE:SEND-BINARY
  • WEBSOCKET-DRIVER.WS.BASE:ACCEPT-PROTOCOLS
  • EVENT-EMITTER:LISTENERS
  • EVENT-EMITTER:ONCE
  • WEBSOCKET-DRIVER.WS.BASE:PROTOCOL
  • WEBSOCKET-DRIVER.WS.BASE:WS
  • EVENT-EMITTER:REMOVE-ALL-LISTENERS

WEBSOCKET-DRIVER.WS.BASE

  • Class WS  (EVENT-EMITTER)
    SOCKET   Accessor: SOCKET
    ACCEPT-PROTOCOLS   Accessor: ACCEPT-PROTOCOLS
    PROTOCOL   Accessor: PROTOCOL
    VERSION   Accessor: VERSION
    MAX-LENGTH   Accessor: MAX-LENGTH
    READY-STATE
    ADDITIONAL-HEADERS   Accessor: ADDITIONAL-HEADERS
    QUEUE   Accessor: QUEUE
    REQUIRE-MASKING   Accessor: REQUIRE-MASKING
    WS-PARSE   Accessor: WS-PARSE
    PING-CALLBACKS   Accessor: PING-CALLBACKS
    PARSER   Accessor: PARSER
    PARSE-LOCK   Reader: PARSE-LOCK
  • Generic-Function READY-STATE (ws)
  • Method READY-STATE ((ws ws))
  • Method READY-STATE ((ws ws))
  • Method READY-STATE ((ws ws))
  • Generic-Function (setf READY-STATE) (state ws)
  • Method (setf READY-STATE) (state (ws ws))
  • Method (setf READY-STATE) (state (ws ws))
  • Method (setf READY-STATE) (state (ws ws))
  • Generic-Function START-CONNECTION (ws)
  • Generic-Function PARSE (ws data &key start end)
  • Method PARSE (ws data &key start end)
  • Method PARSE (ws data &key start end)
  • Method PARSE (ws data &key start end)
  • Generic-Function SEND (ws data &key start end type code callback)
  • Method SEND ((ws ws) data &rest args)
  • Function SEND-TEXT (ws message &rest args &key start end callback)
  • Function SEND-BINARY (ws message &rest args &key start end callback)
  • Generic-Function SEND-PING (ws &optional message callback)
  • Method SEND-PING ((ws ws) &optional message callback)
  • Method SEND-PING ((ws ws) &optional message callback)
  • Method SEND-PING ((ws ws) &optional message callback)
  • Generic-Function CLOSE-CONNECTION (ws &optional reason code)
  • Method CLOSE-CONNECTION ((ws ws) &optional reason code)
  • Generic-Function OPEN-CONNECTION (ws)
  • Method OPEN-CONNECTION ((ws ws))
  • Method OPEN-CONNECTION ((ws ws))
  • Method OPEN-CONNECTION ((ws ws))
  • Generic-Function SEND-HANDSHAKE-RESPONSE (ws &key callback)
  • Generic-Function SEND-HANDSHAKE-REQUEST (ws &key callback)
  • Function READ-WEBSOCKET-FRAME (stream)

WEBSOCKET-DRIVER.UTIL

  • Function SPLIT-BY-COMMA (string)
  • Function GENERATE-ACCEPT (key)