Method

FridaWebResponseadd_header

Declaration

void
frida_web_response_add_header (
  FridaWebResponse* self,
  const gchar* name,
  const gchar* val
)

Description [src]

Adds a header to the response.

Parameters

name

Type: const gchar*

The header name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
val

Type: const gchar*

The header value.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.