Scoop API

scoop:scoop.http:0.1.0

HttpCleartextProbe

class HttpCleartextProbe

source · line 50
public
public class HttpCleartextProbe public constructor(allowed: List<HttpProtocol>)

Incrementally distinguishes the HTTP/2 client preface from HTTP/1, retaining consumed prefix bytes and leaving the remaining input untouched.

function endInput

source · line 95
public
public fun endInput(): HttpProtocol

Returns the selected protocol or rejects EOF during an incomplete preface.