libsoup-2.2 Reference Manual

Synopsis

public class Server : Object  {
    public    weak void                 async_context             { get; construct } ;
    public    weak Address              interface                 { get; construct } ;
    public    weak uint                 port                      { get; construct } ;
    public    weak string               ssl_cert_file             { get; construct } ;
    public    weak string               ssl_key_file              { get; construct } ;


    public                              Server                    ( string              optname1,
                                                                    ... ) ;


    public    void                      add_handler               ( string              path,
                                                                    ServerAuthContext   auth_ctx,
                                                                    ServerCallbackFn    callback,
                                                                    ServerUnregisterFn  unreg,
                                                                    void**              data ) ;
    public    weak GLib.MainContext     get_async_context         (  ) ;
    public    weak ServerHandler        get_handler               ( string              path ) ;
    public    weak Socket               get_listener              (  ) ;
    public    uint                      get_port                  (  ) ;
    public    weak Protocol             get_protocol              (  ) ;
    public    weak GLib.SList           list_handlers             (  ) ;
    public    void                      quit                      (  ) ;
    public    void                      remove_handler            ( string              path ) ;
    public    void                      run                       (  ) ;
    public    void                      run_async                 (  ) ;
}

Server Description

Details

Constructor Details

Server ()
    public                              Server                    ( string              optname1,
                                                                    ... ) ;		

Field Details

Signal Details

Property Details

async_context
    public    weak void                 async_context             { get; construct } ;		

interface
    public    weak Address              interface                 { get; construct } ;		

port
    public    weak uint                 port                      { get; construct } ;		

ssl_cert_file
    public    weak string               ssl_cert_file             { get; construct } ;		

ssl_key_file
    public    weak string               ssl_key_file              { get; construct } ;		

Method Details

add_handler ()
    public    void                      add_handler               ( string              path,
                                                                    ServerAuthContext   auth_ctx,
                                                                    ServerCallbackFn    callback,
                                                                    ServerUnregisterFn  unreg,
                                                                    void**              data ) ;		

get_async_context ()
    public    weak GLib.MainContext     get_async_context         (  ) ;		

get_handler ()
    public    weak ServerHandler        get_handler               ( string              path ) ;		

get_listener ()
    public    weak Socket               get_listener              (  ) ;		

get_port ()
    public    uint                      get_port                  (  ) ;		

get_protocol ()
    public    weak Protocol             get_protocol              (  ) ;		

list_handlers ()
    public    weak GLib.SList           list_handlers             (  ) ;		

quit ()
    public    void                      quit                      (  ) ;		

remove_handler ()
    public    void                      remove_handler            ( string              path ) ;		

run ()
    public    void                      run                       (  ) ;		

run_async ()
    public    void                      run_async                 (  ) ;		


Created by Valadoc