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

Method Context

common.go:480–482  ·  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

478// This context is a child of the context passed to HandshakeContext,
479// if any, and is canceled when the handshake concludes.
480func (c *CertificateRequestInfo) Context() context.Context {
481 return c.ctx
482}
483
484// RenegotiationSupport enumerates the different levels of support for TLS
485// renegotiation. TLS renegotiation is the act of performing subsequent

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected