Constructor

FridaRelaynew

Declaration

FridaRelay*
frida_relay_new (
  const gchar* address,
  const gchar* username,
  const gchar* password,
  FridaRelayKind kind
)

Description [src]

Creates a relay.

Parameters

address

Type: const gchar*

The relay’s address, as host and port.

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

Type: const gchar*

The username to authenticate with.

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

Type: const gchar*

The password to authenticate with.

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

Type: FridaRelayKind

The kind of relay and transport.

Return value

Type: FridaRelay

No description available.

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