MCPcopy Index your code
hub / github.com/subtrace/subtrace / getMessages

Method getMessages

cmd/run/socket/proxy.go:656–660  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

654}
655
656func (w *websocket) getMessages() []*tracer.WebsocketMessage {
657 w.mu.RLock()
658 defer w.mu.RUnlock()
659 return append([]*tracer.WebsocketMessage{}, w.msgs...)
660}
661
662// readFull reads len(p) bytes from the client or server reader, enforcing a shared
663// byte limit across both. Returns an error if the limit is exceeded. Safe for both

Callers 3

readFullMethod · 0.95
readFrameMethod · 0.95
proxyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected