ServerMessage
Object Hierarchy:
Soup.ServerMessage
Soup.ServerMessage
Soup.ServerMessage
GLib.Object
GLib.Object
GLib.Object->Soup.ServerMessage
Description:
[ CCode ( type_id = "soup_server_message_get_type ()" ) ]public sealed class ServerMessage : Object
An HTTP server request and response pair.
A SoupServerMessage represents an HTTP message that is being sent or received on a [class@Server].
[class@Server] will create `SoupServerMessage`s automatically for incoming requests, which your application will receive via handlers.
Note that libsoup's terminology here does not quite match the HTTP specification: in RFC 2616, an "HTTP-message" is *either* a Request,
*or* a Response. In libsoup, a ServerMessage combines both the request and the response.
Content:
Properties:
Creation methods:
Methods:
Signals:
public signal bool accept_certificate (TlsCertificate tls_peer_certificate, TlsCertificateFlags tls_peer_errors)
Emitted during the msg
's connection TLS handshake after
client TLS certificate has been received.
public signal void disconnected ()
Emitted when the msg
's socket is disconnected.
public signal void finished ()
Emitted when all HTTP processing is finished for a message.
public signal void got_body ()
Emitted after receiving the complete request body.
public signal void got_chunk (Bytes chunk)
Emitted after receiving a chunk of a message body.
public signal void got_headers ()
Emitted after receiving the Request-Line and request headers.
public signal void wrote_body ()
Emitted immediately after writing the complete response body for a
message.
public signal void wrote_body_data (uint chunk_size)
Emitted immediately after writing a portion of the message body to the
network.
public signal void wrote_chunk ()
Emitted immediately after writing a body chunk for a message.
public signal void wrote_headers ()
Emitted immediately after writing the response headers for a message.
public signal void wrote_informational ()
Emitted immediately after writing a 1xx (Informational) response.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref