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

Method Context

common.go:507–509  ·  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

505// This context is a child of the context passed to HandshakeContext,
506// if any, and is canceled when the handshake concludes.
507func (c *CertificateRequestInfo) Context() context.Context {
508 return c.ctx
509}
510
511// RenegotiationSupport enumerates the different levels of support for TLS
512// renegotiation. TLS renegotiation is the act of performing subsequent

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected