structuredData will be transformed by either the structuredDataEncoder
in parameter, or, if it is not provided and based on request's
content-type, it will pass the result to the matching
options.structuredDataEncoders (or the builtins ones). If none match,
it will fail with an exception.
Calling this method will automatically close the request.
typedData will be transformed to structuredData by either the
typedDataEncoder in argument or, if none is provided, the
options.typedDataEncoder, or, if none is defined, a pass-through.
Then, it will pass the result to the structuredDataEncoder in parameter,
or, if it is not provided and based on request's content-type, it will
pass the result to the matching options.structuredDataEncoders (or the
builtins ones). If none match, it will fail with an exception.
Calling this method will automatically close the request.