expectHttpUpgrade

fun expectHttpUpgrade(method: HttpMethod, upgrade: CharSequence?, connectionOptions: ConnectionOptions?): Boolean

Return

true if an http upgrade is expected according to request method, upgrade header value and parsed connectionOptions


Return

true if an http upgrade is expected according to request