Response fork by status

[io/http/utils/Response fork by status]


Forwards response to either on match or on mismatch depending on whether the response matches the HTTP status received via status.


Keywords: condition, fork, http, request

Input ports

  • status: number

    Receives HTTP status code.

  • response: `io/http/Response`

    Receives HTTP response.

Output ports

  • on match: `io/http/Response`

    Forwards received response when it matches the HTTP status received via status.

  • on mismatch: `io/http/Response`

    Forwards received response when it does not match the HTTP status received via status.

Last updated