MCPcopy Create free account
hub / github.com/XTLS/REALITY / Context

Method Context

common.go:479–481  ·  view source on GitHub ↗

Context returns the context of the handshake that is in progress. This context is a child of the context passed to HandshakeContext, if any, and is canceled when the handshake concludes.

()

Source from the content-addressed store, hash-verified

477// This context is a child of the context passed to HandshakeContext,
478// if any, and is canceled when the handshake concludes.
479func (c *ClientHelloInfo) Context() context.Context {
480 return c.ctx
481}
482
483// CertificateRequestInfo contains information from a server's
484// CertificateRequest message, which is used to demand a certificate and proof

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected