Soup.Server – libsoup-2.4 Reference Manual
Packages
libsoup-2.4
Soup
Server
@interface
async_context
port
raw_paths
server_header
ssl_cert_file
ssl_key_file
tls_certificate
Server
add_auth_domain
add_handler
disconnect
get_async_context
get_listener
get_port
is_https
pause_message
quit
remove_auth_domain
remove_handler
run
run_async
unpause_message
request_aborted
request_finished
request_read
request_started
Server
Object Hierarchy:
Description:
public
class
Server
:
Object
Namespace:
Soup
Package:
libsoup-2.4
Content:
Properties:
public
MainContext
async_context
{
construct
set
;
get
; }
public
Address
@interface
{
construct
set
;
owned
get
; }
public
uint
port
{
construct
set
;
get
; }
public
bool
raw_paths
{
construct
set
;
get
; }
public
string
server_header
{
construct
set
;
owned
get
; }
public
string
ssl_cert_file
{
construct
set
;
owned
get
; }
public
string
ssl_key_file
{
construct
set
;
owned
get
; }
public
TlsCertificate
tls_certificate
{
construct
set
;
owned
get
; }
Creation methods:
public
Server
(
string
optname1, ...)
Methods:
public
void
add_auth_domain
(
AuthDomain
auth_domain)
public
void
add_handler
(
string
? path,
owned
ServerCallback
callback)
public
void
disconnect
()
public
weak
MainContext
get_async_context
()
public
weak
Socket
get_listener
()
public
uint
get_port
()
public
bool
is_https
()
public
void
pause_message
(
Message
msg)
public
void
quit
()
public
void
remove_auth_domain
(
AuthDomain
auth_domain)
public
void
remove_handler
(
string
path)
public
void
run
()
public
void
run_async
()
public
void
unpause_message
(
Message
msg)
Signals:
public
virtual
signal
void
request_aborted
(
Message
msg,
ClientContext
client)
public
virtual
signal
void
request_finished
(
Message
msg,
ClientContext
client)
public
virtual
signal
void
request_read
(
Message
msg,
ClientContext
client)
public
virtual
signal
void
request_started
(
Message
msg,
ClientContext
client)
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count