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

Struct echClientContext

handshake_client.go:247–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247type echClientContext struct {
248 config *EchConfig
249 hpkeContext *hpke.Sender
250 encapsulatedKey []byte
251 innerHello *clientHelloMsg
252 innerTranscript hash.Hash
253 kdfID uint16
254 aeadID uint16
255 echRejected bool
256 retryConfigs []byte
257}
258
259func (c *Conn) clientHandshake(ctx context.Context) (err error) {
260 if c.config == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected