http.websockets vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Parents:http
Authors:Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
unimplemented-opcode tupleopcode message


Singleton classes
WEBSOCKET-CLOSE-ABNORMAL-CLOSURE
WEBSOCKET-CLOSE-GOING-AWAY
WEBSOCKET-CLOSE-INTERNAL-SERVER-ERRO
WEBSOCKET-CLOSE-INVALID-FRAME-PAYLOAD-DATA
WEBSOCKET-CLOSE-MANDATORY-EXT
WEBSOCKET-CLOSE-MESSAGE-TOO-BIG
WEBSOCKET-CLOSE-NO-STATUS-RECEIVED
WEBSOCKET-CLOSE-NORMAL
WEBSOCKET-CLOSE-PRIVACY-VIOLATION
WEBSOCKET-CLOSE-PROTOCOL-ERROR
WEBSOCKET-CLOSE-RESERVED
WEBSOCKET-CLOSE-TLS-HANDSHAKE
WEBSOCKET-CLOSE-UNSUPPORTED-DATA


Symbol words
WEBSOCKET-CLOSE


Ordinary words
WordStack effect
<WEBSOCKET-CLOSE>( number -- enum )
add-websocket-upgrade-headers( request -- request )
get-read-payload-length( -- length masked? )
get-write-payload-length( bytes -- length-byte length-bytes/f )
random-websocket-key( -- base64 )
read-payload( -- payload )
read-websocket( -- obj opcode loop? )
read-websocket-loop( quot: ( obj opcode -- loop? ) -- )
send-masked-message( payload -- )
send-pong( payload -- )
send-unmasked-message( payload -- )
send-websocket-bytes( bytes mask? opcode final? -- )
send-websocket-text( bytes mask? opcode fin? -- )
unimplemented-opcode( opcode message -- * )
websocket-opcode-binary-frame( -- value )
websocket-opcode-connection-close-frame( -- value )
websocket-opcode-continue-frame( -- value )
websocket-opcode-ping-frame( -- value )
websocket-opcode-pong-frame( -- value )
websocket-opcode-text-frame( -- value )
websocket-version( -- value )


Class predicate words
WordStack effect
WEBSOCKET-CLOSE-ABNORMAL-CLOSURE?( object -- ? )
WEBSOCKET-CLOSE-GOING-AWAY?( object -- ? )
WEBSOCKET-CLOSE-INTERNAL-SERVER-ERRO?( object -- ? )
WEBSOCKET-CLOSE-INVALID-FRAME-PAYLOAD-DATA?( object -- ? )
WEBSOCKET-CLOSE-MANDATORY-EXT?( object -- ? )
WEBSOCKET-CLOSE-MESSAGE-TOO-BIG?( object -- ? )
WEBSOCKET-CLOSE-NO-STATUS-RECEIVED?( object -- ? )
WEBSOCKET-CLOSE-NORMAL?( object -- ? )
WEBSOCKET-CLOSE-PRIVACY-VIOLATION?( object -- ? )
WEBSOCKET-CLOSE-PROTOCOL-ERROR?( object -- ? )
WEBSOCKET-CLOSE-RESERVED?( object -- ? )
WEBSOCKET-CLOSE-TLS-HANDSHAKE?( object -- ? )
WEBSOCKET-CLOSE-UNSUPPORTED-DATA?( object -- ? )
unimplemented-opcode?( object -- ? )


Files


Metadata files