func github.com/gotd/td/transport.NewProtocol

8 uses

	github.com/gotd/td/transport (current package)
		protocol.go#L21: func NewProtocol(getCodec func() Codec) Protocol {
		protocol.go#L34: 	Abridged = NewProtocol(func() Codec { return codec.Abridged{} })
		protocol.go#L39: 	Intermediate = NewProtocol(func() Codec { return codec.Intermediate{} })
		protocol.go#L44: 	PaddedIntermediate = NewProtocol(func() Codec { return codec.PaddedIntermediate{} })
		protocol.go#L49: 	Full = NewProtocol(func() Codec { return &codec.Full{} })

	github.com/gotd/td/telegram/dcs
		mtproxy.go#L135: 		protocol: transport.NewProtocol(func() transport.Codec { return codec.NoHeader{Codec: cdc} }),
		plain.go#L111: 		proto = transport.NewProtocol(func() transport.Codec {
		websocket.go#L99: 		protocol:    transport.NewProtocol(func() transport.Codec { return codec.NoHeader{Codec: cdc} }),