Constructor

FridaEndpointParametersnew

Declaration

FridaEndpointParameters*
frida_endpoint_parameters_new (
  const gchar* address,
  guint16 port,
  GTlsCertificate* certificate,
  const gchar* origin,
  FridaAuthenticationService* auth_service,
  GFile* asset_root
)

Description [src]

Creates endpoint parameters.

Parameters

address

Type: const gchar*

The address to bind to, or null for the default.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
port

Type: guint16

The port to listen on, or 0 for the default.

certificate

Type: GTlsCertificate

TLS certificate to serve, or null for plaintext.

The argument can be NULL.
The data is owned by the caller of the function.
origin

Type: const gchar*

Origin to require from clients, or null.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
auth_service

Type: FridaAuthenticationService

Service used to authenticate clients, or null.

The argument can be NULL.
The data is owned by the caller of the function.
asset_root

Type: GFile

Directory of static assets to serve, or null.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: FridaEndpointParameters

No description available.

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