Awskit.RequestSourceBody-free HTTP request metadata.
Body-free HTTP request metadata.
Runtime adapters receive request bodies separately through Runtime.Transport.with_response.
Request metadata without a request body. Runtime adapters receive the body separately so service packages can stream without buffering.
Validate header names and values before signing or transport.
val create :
method_:Method.t ->
target:Target.t ->
?headers:(string * string) list ->
unit ->
(t, Error.t) resultCreate request metadata. Headers are preserved in caller-provided order except where signing later canonicalizes them.
val create_exn :
method_:Method.t ->
target:Target.t ->
?headers:(string * string) list ->
unit ->
tLike create, but raises Error.Awskit_error carrying the structured validation error on validation failure.
Replace all headers after validating them.