var google.golang.org/grpc/internal/transport.clientPreface
6 uses
google.golang.org/grpc/internal/transport (current package)
http2_client.go#L313: n, err := t.conn.Write(clientPreface)
http2_client.go#L318: if n != len(clientPreface) {
http2_client.go#L320: return nil, connectionErrorf(true, err, "transport: preface mismatch, wrote %d bytes; want %d", n, len(clientPreface))
http2_server.go#L266: preface := make([]byte, len(clientPreface))
http2_server.go#L270: if !bytes.Equal(preface, clientPreface) {
http_util.go#L59: clientPreface = []byte(http2.ClientPreface)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |