okhttp / okhttp3 / Protocol / get

get

@JvmStatic fun get(protocol: String): Protocol

Returns the protocol identified by protocol.

Exceptions

IOException - if protocol is unknown.