MCPcopy Index your code
hub / github.com/github/copilot-sdk / Open

Method Open

go/copilot_request_handler.go:134–134  ·  view source on GitHub ↗

Open establishes the connection and starts forwarding upstream→runtime messages into resp. It must not block. ctx is cancelled on teardown.

(ctx context.Context, resp WebSocketResponseWriter)

Source from the content-addressed store, hash-verified

132 // Open establishes the connection and starts forwarding upstream→runtime
133 // messages into resp. It must not block. ctx is cancelled on teardown.
134 Open(ctx context.Context, resp WebSocketResponseWriter) error
135 // SendRequestMessage forwards one runtime→upstream message.
136 SendRequestMessage(ctx context.Context, msg CopilotWebSocketMessage) error
137 // Done is closed when the upstream connection completes (closed or errored).

Callers 1

handleWebSocketMethod · 0.95

Implementers 1

CopilotWebSocketForwardergo/copilot_request_handler.go

Calls

no outgoing calls

Tested by

no test coverage detected