Constructor

FridaWebResponsenew

Declaration

FridaWebResponse*
frida_web_response_new (
  guint status,
  GBytes* body
)

Description [src]

Creates a response.

Parameters

status

Type: guint

The HTTP status code.

body

Type: GBytes

The response body.

The data is owned by the caller of the function.

Return value

Type: FridaWebResponse

No description available.

The caller of the function takes ownership of the data, and is responsible for freeing it.