okhttp / okhttp3 / Response / protocol

protocol

val protocol: Protocol

Returns the HTTP protocol, such as Protocol.HTTP_1_1 or Protocol.HTTP_1_0.