methodtHttp3ClientConn.StartRequest
function StartRequest(const aMethod, aScheme, aAuthority, aPath: string; const aHeaders: tQpackFields; const aBody: TBytes): UInt64; overload;
Starts a request once Ready and returns its stream ID (0 is valid). Method, scheme (https or http), authority and an origin-form path ('*' for OPTIONS) are ASCII; aHeaders holds the other fields, with lowercase names and values as HTTP octets, and no connection-specific fields. CONNECT is not supported. With aEndStream True (the first overload) aBody is the complete body, and content-length is added for a nonempty body or a POST unless aHeaders has one, which must then match. With aEndStream False the body stays open: aBody may be empty or a first chunk; continue with TrySendBody or TrySendTrailers. Failure raises, never returns: not Ready, request limits reached, no peer stream credit, invalid fields or a full send queue. aBody is kept by reference: do not modify it.
function StartRequest(const aMethod, aScheme, aAuthority, aPath: string; const aHeaders: tQpackFields; const aBody: TBytes; aEndStream: Boolean): UInt64; overload;
Delegates to
StartRequest, passing 7 argument(s), and returns its result.