Example usage for Java com.squareup.okhttp Protocol fields, constructors, methods, implement or subclass
The text is from its open source code.
Protocol | HTTP_1_0 An obsolete plaintext framing that does not use persistent sockets by default. |
Protocol | HTTP_1_1 A plaintext framing that includes persistent connections. |
Protocol | SPDY_3 Chromium's binary-framed protocol that includes header compression, multiplexing multiple requests on the same socket, and server-push. |
Protocol | HTTP_2 The IETF's binary-framed protocol that includes header compression, multiplexing multiple requests on the same socket, and server-push. |
Protocol | get(String protocol) Returns the protocol identified by protocol . |