Home | History | Annotate | Download | only in internal

Lines Matching refs:protocol

19 import com.squareup.okhttp.Protocol;
103 SSLSocket sslSocket, String hostname, List<Protocol> protocols) {
204 * Returns the concatenation of 8-bit, length prefixed protocol names.
207 static byte[] concatLengthPrefixed(List<Protocol> protocols) {
210 Protocol protocol = protocols.get(i);
211 if (protocol == Protocol.HTTP_1_0) continue; // No HTTP/1.0 for ALPN.
212 result.writeByte(protocol.toString().length());
213 result.writeUtf8(protocol.toString());