enum HttpCleartextProtocol
source · line 32public
public enum HttpCleartextProtocol
Selects how an unencrypted HTTP connection begins.
variant Http1
source · line 36public
Http1
Begins directly with HTTP/1 messages.
variant Http2PriorKnowledge
source · line 40public
Http2PriorKnowledge
Begins directly with the HTTP/2 connection preface.
variant H2cUpgrade
source · line 44public
H2cUpgrade
Attempts an explicit HTTP/1.1 h2c upgrade.
function equals
source · line 32publiccompiler-derived
operator fun equals(other: HttpCleartextProtocol): Boolean
This derived operation is available when each field or payload type supports same-type equality.