MCPcopy Index your code
hub / github.com/anomalyco/opencode / socket

Function socket

packages/http-recorder/src/socket.ts:308–309  ·  view source on GitHub ↗
(name: string, options: RecorderOptions = {})

Source from the content-addressed store, hash-verified

306 * duplicate the transport URL.
307 */
308export const socket = (name: string, options: RecorderOptions = {}): Layer.Layer<Socket.Socket, never, Socket.Socket> =>
309 provideCassette(recordingLayer(name, { url: "" }, { ...options, compareClientMessagesAsJson: true }), options)
310
311/** @internal */
312export const socketLayer = (

Callers

nothing calls this directly

Calls 2

provideCassetteFunction · 0.85
recordingLayerFunction · 0.70

Tested by

no test coverage detected