talostrading / sonic

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.
MIT License
676 stars 16 forks source link

Add upgrade request/response callbacks #132

Closed TobiasBrandt-Talos closed 4 months ago

TobiasBrandt-Talos commented 4 months ago

These callbacks are invoked during the handshake just before the upgrade request is sent and just after the response is received.