Sonic is a Go library for network and I/O programming that provides developers with a consistent asynchronous model, with a focus on achieving the lowest possible latency and jitter in Go.
This is not well-defined yet. What we want is to essentially have the websocket frame already encoded in dst from codec.go. What we have today is a websocket.Frame with its own buffers that then get copied to a destination buffer.
This is not well-defined yet. What we want is to essentially have the websocket frame already encoded in
dst
fromcodec.go
. What we have today is awebsocket.Frame
with its own buffers that then get copied to a destination buffer.