MCPcopy Create free account
hub / github.com/github/copilot-sdk / Text

Method Text

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

Text decodes the frame payload as a UTF-8 string.

()

Source from the content-addressed store, hash-verified

89
90// Text decodes the frame payload as a UTF-8 string.
91func (m CopilotWebSocketMessage) Text() string { return string(m.Data) }
92
93// NewTextMessage creates a text-frame message from a UTF-8 string. Binary
94// frames are constructed directly with CopilotWebSocketMessage{Data: ..., Binary: true}.

Callers 3

startCLIServerMethod · 0.80
mainFunction · 0.80
startOAuthMCPServerFunction · 0.80

Calls

no outgoing calls

Tested by 1

startOAuthMCPServerFunction · 0.64