MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / wrapRequest

Function wrapRequest

src/connect.js:51–53  ·  view source on GitHub ↗
(protoBuf)

Source from the content-addressed store, hash-verified

49 * Wrap a request for sending (single envelope, gzipped).
50 */
51export function wrapRequest(protoBuf) {
52 return wrapEnvelope(protoBuf, { compress: true });
53}
54
55/**
56 * Build the end-of-stream trailer frame (JSON {}).

Callers 1

grpcFrameFunction · 0.90

Calls 1

wrapEnvelopeFunction · 0.85

Tested by

no test coverage detected