aboutsummaryrefslogtreecommitdiff
path: root/lib/websocket/frame.go
AgeCommit message (Expand)Author
2025-01-23all: use for-range with numericShulhan
2023-12-13all: fix linter warnings reported by reviveShulhan
2023-09-13lib/websocket: replace package "math/rand" with "crypto/rand"Shulhan
2023-07-01lib/websocket: reformat comments and documentationShulhan
2022-06-09lib/websocket: refactoring codeShulhan
2022-06-08lib/websocket: realign struct FrameShulhan
2022-05-09all: reformat all codes using gofmt 1.19 (the Go tip)Shulhan
2020-08-11websocket: reformat some filesShulhan
2019-03-17websocket: unexport Frame Pack()Shulhan
2019-03-17websocket: move isValidFrame as method of FrameShulhan
2019-03-17websocket: remove parameter randomMask from Frame.PackShulhan
2019-03-17websocket: simplify handling chopped frameShulhan
2019-03-17websocket: do not cut the close code bytes from frame's payloadShulhan
2019-03-17websocket: remove global random number generatorShulhan
2019-03-12websocket: export the opcode typeShulhan
2019-03-11websocket: handle chopped frame with interjected control frameShulhan
2019-03-11websocket: handle checking invalid control frame in serverShulhan
2019-03-11websocket: handle index out-of-range error when unpacking frame lengthShulhan
2019-03-11websocket: handle invalid control CLOSE codeShulhan
2019-03-11websocket: set payload capability with payload lengthShulhan
2019-03-11websocket: set the close code to normal (1000) if its not set (0)Shulhan
2019-03-10websocket: close connection on unnegotiated reserved bits on serverShulhan
2019-03-10websocket: add server handler for reserved control frameShulhan
2019-03-10websocket: handle invalid packet when unpacking websocket frameShulhan
2019-03-06websocket: generate random mask only if masked field is set on pack()Shulhan
2019-03-06websocket: read close code only if payload length is not zeroShulhan
2019-03-05websocket: unexport the Frame Pack methodShulhan
2019-03-05websocket: change the Unpack return type to FramesShulhan
2019-03-05websocket: unexported the Frame fields Fin and MaskedShulhan
2019-03-04websocket: remove global variables for server control framesShulhan
2019-03-04websocket: minimize global variables and unexport internal constantsShulhan
2019-03-04websocket: add method to check if frame is data frameShulhan
2019-03-04websocket: rename function "unpack" to "frameUnpack"Shulhan
2019-03-04websocket: add functions to create control or data frameShulhan
2019-03-01all: fix warnings from linterShulhan
2018-11-30all: minimize and suppress linter warnings for global variablesShulhan
2018-11-30all: fix linter warnings on naked returnShulhan
2018-11-29all: fix warnings from lintersShulhan
2018-11-29all: fixes warning from lintersShulhan
2018-11-02lib/websocket: reformat commentsShulhan
2018-07-06Add implementation of websocket server and client (RFC 6455)Shulhan