github.com/gotd/td/internal/mtproxy/obfuscator.Obfuscator.Handshake (method)

4 uses

	github.com/gotd/td/internal/mtproxy/obfuscator (current package)
		obfuscator.go#L17: 	Handshake(protocol [4]byte, dc int, s mtproxy.Secret) error

	github.com/gotd/td/telegram/dcs
		mtproxy.go#L73: 	if err := obsConn.Handshake(m.tag, dc, secret); err != nil {
		plain.go#L106: 		if err := obfsConn.Handshake(tag, dcID, secret); err != nil {
		websocket.go#L43: 	if err := obsConn.Handshake(w.tag, dc, mtproxy.Secret{