Java com.squareup.okhttp Protocol fields, constructors, methods, implement or subclass

Example usage for Java com.squareup.okhttp Protocol fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.squareup.okhttp Protocol.

The text is from its open source code.

Field

ProtocolHTTP_1_0
An obsolete plaintext framing that does not use persistent sockets by default.
ProtocolHTTP_1_1
A plaintext framing that includes persistent connections.
ProtocolSPDY_3
Chromium's binary-framed protocol that includes header compression, multiplexing multiple requests on the same socket, and server-push.
ProtocolHTTP_2
The IETF's binary-framed protocol that includes header compression, multiplexing multiple requests on the same socket, and server-push.

Method

Protocolget(String protocol)
Returns the protocol identified by protocol .