expectHttpUpgrade
fun expectHttpUpgrade(method: HttpMethod, upgrade: CharSequence?, connectionOptions: ConnectionOptions?): Boolean
Content copied to clipboard
Return
true
if an http upgrade is expected accoding to request method, upgrade header value and parsed connectionOptions
Return
true
if an http upgrade is expected according to request