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

Method GetExchanges

go/internal/e2e/testharness/context.go:175–177  ·  view source on GitHub ↗

GetExchanges retrieves the captured HTTP exchanges from the proxy.

()

Source from the content-addressed store, hash-verified

173
174// GetExchanges retrieves the captured HTTP exchanges from the proxy.
175func (c *TestContext) GetExchanges() ([]ParsedHttpExchange, error) {
176 return c.proxy.GetExchanges()
177}
178
179// WaitForExchanges waits until the proxy has captured at least the requested exchanges.
180func (c *TestContext) WaitForExchanges(t *testing.T, minimumCount int) []ParsedHttpExchange {

Callers 9

TestToolResultsE2EFunction · 0.95
TestToolsE2EFunction · 0.95
TestSessionConfigE2EFunction · 0.95
TestSessionE2EFunction · 0.95
WaitForExchangesMethod · 0.95

Calls

no outgoing calls

Tested by 8

TestToolResultsE2EFunction · 0.76
TestToolsE2EFunction · 0.76
TestSessionConfigE2EFunction · 0.76
TestSessionE2EFunction · 0.76