WSFrame
consumed
instantiate
(Fn [(Ref WSFrame a)] (Ref Int a))
gets the consumed property of a WSFrame.
copy
instantiate
(Fn [(Ref WSFrame a)] WSFrame)
copies a WSFrame.
delete
instantiate
(Fn [WSFrame] ())
deletes a WSFrame. Should usually not be called manually.
fin
instantiate
(Fn [(Ref WSFrame a)] (Ref Bool a))
gets the fin property of a WSFrame.
init
instantiate
(Fn [Bool, Int, Int, Bool, (Array Byte), Int] WSFrame)
creates a WSFrame.
masked
instantiate
(Fn [(Ref WSFrame a)] (Ref Bool a))
gets the masked property of a WSFrame.
opcode
instantiate
(Fn [(Ref WSFrame a)] (Ref Int a))
gets the opcode property of a WSFrame.
payload
instantiate
(Fn [(Ref WSFrame a)] (Ref (Array Byte) a))
gets the payload property of a WSFrame.
prn
instantiate
(Fn [(Ref WSFrame a)] String)
converts a WSFrame to a string.
rsv
instantiate
(Fn [(Ref WSFrame a)] (Ref Int a))
gets the rsv property of a WSFrame.
set-consumed
instantiate
(Fn [WSFrame, Int] WSFrame)
sets the consumed property of a WSFrame.
set-consumed!
instantiate
(Fn [(Ref WSFrame a), Int] ())
sets the consumed property of a WSFrame in place.
set-fin
instantiate
(Fn [WSFrame, Bool] WSFrame)
sets the fin property of a WSFrame.
set-fin!
instantiate
(Fn [(Ref WSFrame a), Bool] ())
sets the fin property of a WSFrame in place.
set-masked
instantiate
(Fn [WSFrame, Bool] WSFrame)
sets the masked property of a WSFrame.
set-masked!
instantiate
(Fn [(Ref WSFrame a), Bool] ())
sets the masked property of a WSFrame in place.
set-opcode
instantiate
(Fn [WSFrame, Int] WSFrame)
sets the opcode property of a WSFrame.
set-opcode!
instantiate
(Fn [(Ref WSFrame a), Int] ())
sets the opcode property of a WSFrame in place.
set-payload
instantiate
(Fn [WSFrame, (Array Byte)] WSFrame)
sets the payload property of a WSFrame.
set-payload!
instantiate
(Fn [(Ref WSFrame a), (Array Byte)] ())
sets the payload property of a WSFrame in place.
set-rsv
instantiate
(Fn [WSFrame, Int] WSFrame)
sets the rsv property of a WSFrame.
set-rsv!
instantiate
(Fn [(Ref WSFrame a), Int] ())
sets the rsv property of a WSFrame in place.
str
instantiate
(Fn [(Ref WSFrame a)] String)
converts a WSFrame to a string.
update-consumed
instantiate
(Fn [WSFrame, (Ref (Fn [Int] Int a) b)] WSFrame)
updates the consumed property of a WSFrame using a function f.
update-fin
instantiate
(Fn [WSFrame, (Ref (Fn [Bool] Bool a) b)] WSFrame)
updates the fin property of a WSFrame using a function f.
update-masked
instantiate
(Fn [WSFrame, (Ref (Fn [Bool] Bool a) b)] WSFrame)
updates the masked property of a WSFrame using a function f.
update-opcode
instantiate
(Fn [WSFrame, (Ref (Fn [Int] Int a) b)] WSFrame)
updates the opcode property of a WSFrame using a function f.
update-payload
instantiate
(Fn [WSFrame, (Ref (Fn [(Array Byte)] (Array Byte) a) b)] WSFrame)
updates the payload property of a WSFrame using a function f.
update-rsv
instantiate
(Fn [WSFrame, (Ref (Fn [Int] Int a) b)] WSFrame)
updates the rsv property of a WSFrame using a function f.