EndpointHttp


Description:

[ CCode ( has_construct_function = false ) ]
public EndpointHttp (SparqlConnection sparql_connection, uint port, TlsCertificate? certificate, Cancellable? cancellable = null) throws Error

Sets up a Tracker endpoint to listen via HTTP, in the given port.

If certificate is not null, HTTPS may be used to connect to the endpoint.

Parameters:

sparql_connection

The [class@SparqlConnection] being made public

port

HTTP port to handle incoming requests

certificate

Optional [type@Gio.TlsCertificate] to use for encription

cancellable

Optional [type@Gio.Cancellable]

Returns:

a `TrackerEndpointHttp` object.