Valadoc
|
Vala
|
Tutorial
|
API-References
|
Markup
Packages
libsoup-2.2
Soup
Server
async_context
interface
port
ssl_cert_file
ssl_key_file
Server
add_handler
get_async_context
get_handler
get_listener
get_port
get_protocol
list_handlers
quit
remove_handler
run
run_async
Server
Object Hierarchy:
Description:
public
class
Server
:
Object
Namespace:
Soup
Package:
libsoup-2.2
Content:
Properties:
public
void
*
async_context
{
construct
set
;
get
; }
public
Address
interface
{
construct
set
;
owned
get
; }
public
uint
port
{
construct
set
;
get
; }
public
string
ssl_cert_file
{
construct
set
;
owned
get
; }
public
string
ssl_key_file
{
construct
set
;
owned
get
; }
Creation methods:
public
Server
(
string
optname1, ...)
Methods:
public
void
add_handler
(
string
path,
ServerAuthContext
auth_ctx,
ServerCallbackFn
callback,
ServerUnregisterFn
unreg,
void
* data)
public
weak
MainContext
get_async_context
()
public
unowned
ServerHandler
get_handler
(
string
path)
public
weak
Socket
get_listener
()
public
uint
get_port
()
public
unowned
Protocol
get_protocol
()
public
unowned
SList
list_handlers
()
public
void
quit
()
public
void
remove_handler
(
string
path)
public
void
run
()
public
void
run_async
()