OwrImageServer

OwrImageServer

Functions

Properties

gchar * allow-origin Read / Write
guint port Read / Write / Construct Only

Object Hierarchy

    GObject
    ╰── OwrImageServer

Description

Functions

owr_image_server_new ()

OwrImageServer *
owr_image_server_new (guint port);

Parameters

port

The port to listen on for incoming connections

 

Returns

The new OwrImageServer


owr_image_server_add_image_renderer ()

void
owr_image_server_add_image_renderer (OwrImageServer *image_server,
                                     OwrImageRenderer *image_renderer,
                                     const gchar *tag);

Parameters

image_renderer

.

[transfer full]

owr_image_server_remove_image_renderer ()

void
owr_image_server_remove_image_renderer
                               (OwrImageServer *image_server,
                                const gchar *tag);

Types and Values

Property Details

The “allow-origin” property

  “allow-origin”             gchar *

Space-separated list of origins allowed for cross-origin resource sharing (alternatively, "null" for none or "*" for all).

Flags: Read / Write

Default value: "null"


The “port” property

  “port”                     guint

The port to listen on for incoming connections.

Flags: Read / Write / Construct Only

Allowed values: <= 65535

Default value: 3325