Searched refs:alpnProtocol (Results 1 – 5 of 5) sorted by relevance
96 Protocol alpnProtocol = null; in connectTls() local110 alpnProtocol = Protocol.get(maybeProtocol); // Throws IOE on unknown. in connectTls()130 return new ConnectedSocket(route, sslSocket, alpnProtocol, handshake); in connectTls()260 public final Protocol alpnProtocol; field in SocketConnector.ConnectedSocket267 alpnProtocol = null; in ConnectedSocket()272 public ConnectedSocket(Route route, SSLSocket socket, Protocol alpnProtocol, in ConnectedSocket() argument276 this.alpnProtocol = alpnProtocol; in ConnectedSocket()
157 protocol = connectedSocket.alpnProtocol == null in connect()158 ? Protocol.HTTP_1_1 : connectedSocket.alpnProtocol; in connect()
627 alpnProtocol string member655 m.alpnProtocol == m1.alpnProtocol &&698 if alpnLen := len(m.alpnProtocol); alpnLen > 0 {787 if alpnLen := len(m.alpnProtocol); alpnLen > 0 {798 copy(z[7:], []byte(m.alpnProtocol))871 m.alpnProtocol = ""942 m.alpnProtocol = string(d)
679 serverHasALPN := len(hs.serverHello.alpnProtocol) > 0697 c.clientProtocol = hs.serverHello.alpnProtocol
289 hs.hello.alpnProtocol = selectedProto