pdk.flow.HttpResponse (since 5.0.6)

Contains functions that can be applied to HttpResponse structures

All functions


addHeader

Adds an HTTP header to the HTTP response.

Arguments:

Result:

  • No variable is returned. The input response contains the new header.

Possible exceptions


deleteHeader

Deletes an HTTP header to the HTTP response.

Arguments:

Result:

  • No variable is returned. The specified header is removed from the input response.

Possible exceptions


createHeader

Creates and adds new header to the HTTP response.

Arguments:

Result:

  • No variable is returned. The input response contains the new header.

Possible exceptions


addCookie

Adds an HTTP cookie to the HTTP response.

Arguments:

Result:

  • No variable is returned. The input response contains the new cookie.

Possible exceptions


deleteCookie

Deletes an HTTP cookie to the HTTP response.

Arguments:

Result:

  • No variable is returned. The specified cookie is removed from the input response.

Possible exceptions

Last updated