type github.com/gotd/td/internal/mtproxy/obfuscator.Conn (struct)

Method Implmentations

Close() error Conn.M : io.Closer.Close *Conn.M : io.ReadCloser.Close *Conn.M : io.ReadWriteCloser.Close *Conn.M : io.WriteCloser.Close *Conn.M : net.Conn.Close
Handshake(protocol [4]byte, dc int, s mtproxy.Secret) error *Conn.M : Obfuscator.Handshake
LocalAddr() net.Addr *Conn.M : net.Conn.LocalAddr
Read(b []byte) (n int, err error) *Conn.M : Obfuscator.Read *Conn.M : io.ReadCloser.Read *Conn.M : io.Reader.Read *Conn.M : io.ReadWriteCloser.Read *Conn.M : io.ReadWriter.Read *Conn.M : net.Conn.Read
RemoteAddr() net.Addr *Conn.M : net.Conn.RemoteAddr
Write(b []byte) (n int, err error) *Conn.M : Obfuscator.Write *Conn.M : internal/bisect.Writer.Write *Conn.M : io.ReadWriteCloser.Write *Conn.M : io.ReadWriter.Write *Conn.M : io.WriteCloser.Write *Conn.M : io.Writer.Write *Conn.M : net.Conn.Write *Conn.M : crypto/tls.transcriptHash.Write