Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssertCouple ¶
type AssertCouple struct {
Assert mhttp.HTTPAssert
AssertRes mhttp.HTTPResponseAssert
}
type ResponseCreateHTTPOutput ¶
type ResponseCreateHTTPOutput struct {
HTTPResponse mhttp.HTTPResponse
ResponseHeaders []mhttp.HTTPResponseHeader
ResponseAsserts []mhttp.HTTPResponseAssert
}
func ResponseCreateHTTP ¶
func ResponseCreateHTTP( ctx context.Context, r request.RequestResponse, httpID idwrap.IDWrap, assertions []mhttp.HTTPAssert, flowVars map[string]any, ) (*ResponseCreateHTTPOutput, error)
type ResponseCreateOutput ¶
type ResponseCreateOutput struct {
BodyRaw []byte
HTTPResponse mhttp.HTTPResponse
AssertCouples []AssertCouple
// new headers
CreateHeaders, UpdateHeaders []mhttp.HTTPResponseHeader
DeleteHeaderIds []idwrap.IDWrap
}
func ResponseCreate ¶
func ResponseCreate(ctx context.Context, r request.RequestResponse, httpResponse mhttp.HTTPResponse, lastResponseHeaders []mhttp.HTTPResponseHeader, assertions []mhttp.HTTPAssert, flowVars map[string]any) (*ResponseCreateOutput, error)
Click to show internal directories.
Click to hide internal directories.