MCPcopy Create free account
hub / github.com/cocoindex-io/cocoindex-code / encode_response

Function encode_response

src/cocoindex_code/protocol.py:225–226  ·  view source on GitHub ↗
(resp: Response)

Source from the content-addressed store, hash-verified

223
224
225def encode_response(resp: Response) -> bytes:
226 return _response_encoder.encode(resp)
227
228
229def decode_response(data: bytes) -> Response:

Calls

no outgoing calls