1HTTP::Soup::Message(3)User Contributed Perl DocumentationHTTP::Soup::Message(3)
2
3
4

NAME

6       HTTP::Soup::Message
7

HIERARCHY

9         Glib::Object
10         +----HTTP::Soup::Message
11

METHODS

13   string = $message->method ($val=undef)
14       ·   $val (string)
15
16   string = $message->reason_phrase ($val=undef)
17       ·   $val (string)
18
19   messagebody = $message->request_body ($val=undef)
20       ·   $val (HTTP::Soup::MessageBody)
21
22   messageheaders = $message->request_headers ($val=undef)
23       ·   $val (HTTP::Soup::MessageHeaders)
24
25   messagebody = $message->response_body ($val=undef)
26       ·   $val (HTTP::Soup::MessageBody)
27
28   messageheaders = $message->response_headers ($val=undef)
29       ·   $val (HTTP::Soup::MessageHeaders)
30
31   integer = $message->status_code ($val=0)
32       ·   $val (integer)
33

PROPERTIES

35       'first-party' (HTTP::Soup::URI : default undef : readable / writable)
36           The URI loaded in the application when the message was requested.
37
38       'flags' (HTTP::Soup::MessageFlags : default  : readable / writable)
39           Various message options
40
41       'http-version' (HTTP::Soup::HTTPVersion : default "http-1-1" : readable
42       / writable)
43           The HTTP protocol version to use
44
45       'method' (string : default "GET" : readable / writable)
46           The message's HTTP method
47
48       'priority' (HTTP::Soup::MessagePriority : default "normal" : readable /
49       writable)
50           The priority of the message
51
52       'reason-phrase' (string : default undef : readable / writable)
53           The HTTP response reason phrase
54
55       'request-body' (HTTP::Soup::MessageBody : default undef : readable)
56           The HTTP request content
57
58       'request-body-data' (Glib::Bytes : default undef : readable)
59           The HTTP request body
60
61       'request-headers' (HTTP::Soup::MessageHeaders : default undef :
62       readable)
63           The HTTP request headers
64
65       'response-body' (HTTP::Soup::MessageBody : default undef : readable)
66           The HTTP response content
67
68       'response-body-data' (Glib::Bytes : default undef : readable)
69           The HTTP response body
70
71       'response-headers' (HTTP::Soup::MessageHeaders : default undef :
72       readable)
73           The HTTP response headers
74
75       'server-side' (boolean : default false : readable / writable /
76       construct-only)
77           Whether or not the message is server-side rather than client-side
78
79       'status-code' (Glib::UInt : default 0 : readable / writable)
80           The HTTP response status code
81
82       'tls-certificate' (Glib::Object::_Unregistered::GTlsCertificate :
83       default undef : readable / writable)
84           The TLS certificate associated with the message
85
86       'tls-errors' (GTlsCertificateFlags : default [] : readable / writable)
87           The verification errors on the message's TLS certificate
88
89       'uri' (HTTP::Soup::URI : default undef : readable / writable)
90           The message's Request-URI
91

SIGNALS

93       content-sniffed (HTTP::Soup::Message, string, GHashTable)
94       finished (HTTP::Soup::Message)
95       got-body (HTTP::Soup::Message)
96       got-chunk (HTTP::Soup::Message, HTTP::Soup::Buffer)
97       got-headers (HTTP::Soup::Message)
98       got-informational (HTTP::Soup::Message)
99       network-event (HTTP::Soup::Message, GSocketClientEvent,
100       Glib::Object::_Unregistered::GIOStream)
101       restarted (HTTP::Soup::Message)
102       starting (HTTP::Soup::Message)
103       wrote-body (HTTP::Soup::Message)
104       wrote-body-data (HTTP::Soup::Message, HTTP::Soup::Buffer)
105       wrote-chunk (HTTP::Soup::Message)
106       wrote-headers (HTTP::Soup::Message)
107       wrote-informational (HTTP::Soup::Message)
108

ENUMS AND FLAGS

110   enum GSocketClientEvent
111       ·   'resolving' / 'G_SOCKET_CLIENT_RESOLVING'
112
113       ·   'resolved' / 'G_SOCKET_CLIENT_RESOLVED'
114
115       ·   'connecting' / 'G_SOCKET_CLIENT_CONNECTING'
116
117       ·   'connected' / 'G_SOCKET_CLIENT_CONNECTED'
118
119       ·   'proxy-negotiating' / 'G_SOCKET_CLIENT_PROXY_NEGOTIATING'
120
121       ·   'proxy-negotiated' / 'G_SOCKET_CLIENT_PROXY_NEGOTIATED'
122
123       ·   'tls-handshaking' / 'G_SOCKET_CLIENT_TLS_HANDSHAKING'
124
125       ·   'tls-handshaked' / 'G_SOCKET_CLIENT_TLS_HANDSHAKED'
126
127       ·   'complete' / 'G_SOCKET_CLIENT_COMPLETE'
128
129   enum GTlsCertificateFlags
130       ·   'unknown-ca' / 'G_TLS_CERTIFICATE_UNKNOWN_CA'
131
132       ·   'bad-identity' / 'G_TLS_CERTIFICATE_BAD_IDENTITY'
133
134       ·   'not-activated' / 'G_TLS_CERTIFICATE_NOT_ACTIVATED'
135
136       ·   'expired' / 'G_TLS_CERTIFICATE_EXPIRED'
137
138       ·   'revoked' / 'G_TLS_CERTIFICATE_REVOKED'
139
140       ·   'insecure' / 'G_TLS_CERTIFICATE_INSECURE'
141
142       ·   'generic-error' / 'G_TLS_CERTIFICATE_GENERIC_ERROR'
143
144       ·   'validate-all' / 'G_TLS_CERTIFICATE_VALIDATE_ALL'
145
146   enum HTTP::Soup::HTTPVersion
147       ·   'http-1-0' / 'SOUP_HTTP_1_0'
148
149       ·   'http-1-1' / 'SOUP_HTTP_1_1'
150
151   flags HTTP::Soup::MessageFlags
152       ·   'no-redirect' / 'SOUP_MESSAGE_NO_REDIRECT'
153
154       ·   'can-rebuild' / 'SOUP_MESSAGE_CAN_REBUILD'
155
156       ·   'overwrite-chunks' / 'SOUP_MESSAGE_OVERWRITE_CHUNKS'
157
158       ·   'content-decoded' / 'SOUP_MESSAGE_CONTENT_DECODED'
159
160       ·   'certificate-trusted' / 'SOUP_MESSAGE_CERTIFICATE_TRUSTED'
161
162       ·   'new-connection' / 'SOUP_MESSAGE_NEW_CONNECTION'
163
164       ·   'idempotent' / 'SOUP_MESSAGE_IDEMPOTENT'
165
166       ·   'ignore-connection-limits' /
167           'SOUP_MESSAGE_IGNORE_CONNECTION_LIMITS'
168
169       ·   'do-not-use-auth-cache' / 'SOUP_MESSAGE_DO_NOT_USE_AUTH_CACHE'
170
171   enum HTTP::Soup::MessagePriority
172       ·   'very-low' / 'SOUP_MESSAGE_PRIORITY_VERY_LOW'
173
174       ·   'low' / 'SOUP_MESSAGE_PRIORITY_LOW'
175
176       ·   'normal' / 'SOUP_MESSAGE_PRIORITY_NORMAL'
177
178       ·   'high' / 'SOUP_MESSAGE_PRIORITY_HIGH'
179
180       ·   'very-high' / 'SOUP_MESSAGE_PRIORITY_VERY_HIGH'
181

SEE ALSO

183       HTTP::Soup, Glib::Object
184
186       Copyright (C) 2011 by Emmanuel Rodriguez
187
188
189
190perl v5.30.1                      2020-01-30            HTTP::Soup::Message(3)
Impressum