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

NAME

6       HTTP::Soup::Session
7

HIERARCHY

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

METHODS

13   $session->queue_message ($msg, $sv_callback, $sv_user_data=undef)
14       •   $msg (HTTP::Soup::Message)
15
16       •   $sv_callback (scalar)
17
18       •   $sv_user_data (scalar)
19

PROPERTIES

21       'accept-language' (string : default undef : readable / writable /
22       private / static-nick / static-blurb)
23           Accept-Language string
24
25       'accept-language-auto' (boolean : default false : readable / writable /
26       private / static-nick / static-blurb)
27           Accept-Language automatic mode
28
29       'add-feature' (HTTP::Soup::SessionFeature : default undef : readable /
30       writable / private / static-nick / static-blurb)
31           Add a feature object to the session
32
33       'add-feature-by-type' (Glib::GType : default "Glib::Object" : readable
34       / writable / private / static-nick / static-blurb)
35           Add a feature object of the given type to the session
36
37       'async-context' (gpointer : default 0 : readable / writable /
38       construct-only / private / static-nick / static-blurb)
39           The GMainContext to dispatch async I/O in
40
41       'http-aliases' (Glib::Strv : default undef : readable / writable /
42       private / static-nick / static-blurb)
43           URI schemes that are considered aliases for 'http'
44
45       'https-aliases' (Glib::Strv : default undef : readable / writable /
46       private / static-nick / static-blurb)
47           URI schemes that are considered aliases for 'https'
48
49       'idle-timeout' (Glib::UInt : default 60 : readable / writable / private
50       / static-nick / static-blurb)
51           Connection lifetime when idle
52
53       'local-address' (HTTP::Soup::Address : default undef : readable /
54       writable / construct-only / private / static-nick / static-blurb)
55           Address of local end of socket
56
57       'max-conns' (integer : default 10 : readable / writable / private /
58       static-nick / static-blurb)
59           The maximum number of connections that the session can open at once
60
61       'max-conns-per-host' (integer : default 2 : readable / writable /
62       private / static-nick / static-blurb)
63           The maximum number of connections that the session can open at once
64           to a given host
65
66       'proxy-resolver' (Glib::Object::_Unregistered::GProxyResolver : default
67       undef : readable / writable / private / static-nick / static-blurb)
68           The GProxyResolver to use for this session
69
70       'proxy-uri' (HTTP::Soup::URI : default undef : readable / writable /
71       private / static-nick / static-blurb / deprecated)
72           The HTTP Proxy to use for this session
73
74       'remove-feature-by-type' (Glib::GType : default "Glib::Object" :
75       readable / writable / private / static-nick / static-blurb)
76           Remove features of the given type from the session
77
78       'ssl-ca-file' (string : default undef : readable / writable / private /
79       static-nick / static-blurb / deprecated)
80           File containing SSL CA certificates
81
82       'ssl-strict' (boolean : default true : readable / writable / private /
83       static-nick / static-blurb)
84           Whether certificate errors should be considered a connection error
85
86       'ssl-use-system-ca-file' (boolean : default true : readable / writable
87       / private / static-nick / static-blurb)
88           Use the system certificate database
89
90       'timeout' (Glib::UInt : default 0 : readable / writable / private /
91       static-nick / static-blurb)
92           Value in seconds to timeout a blocking I/O
93
94       'tls-database' (Glib::Object::_Unregistered::GTlsDatabase : default
95       undef : readable / writable / private / static-nick / static-blurb)
96           TLS database to use
97
98       'tls-interaction' (Glib::Object::_Unregistered::GTlsInteraction :
99       default undef : readable / writable / private / static-nick / static-
100       blurb)
101           TLS interaction to use
102
103       'use-ntlm' (boolean : default false : readable / writable / private /
104       static-nick / static-blurb / deprecated)
105           Whether or not to use NTLM authentication
106
107       'use-thread-context' (boolean : default false : readable / writable /
108       private / static-nick / static-blurb)
109           Whether to use thread-default main contexts
110
111       'user-agent' (string : default undef : readable / writable / private /
112       static-nick / static-blurb)
113           User-Agent string
114

SIGNALS

116       authenticate (HTTP::Soup::Session, HTTP::Soup::Message,
117       HTTP::Soup::Auth, boolean)
118       connection-created (HTTP::Soup::Session, Glib::Object)
119       request-queued (HTTP::Soup::Session, HTTP::Soup::Message)
120       request-started (HTTP::Soup::Session, HTTP::Soup::Message,
121       HTTP::Soup::Socket)
122       request-unqueued (HTTP::Soup::Session, HTTP::Soup::Message)
123       tunneling (HTTP::Soup::Session, Glib::Object)
124

SEE ALSO

126       HTTP::Soup, Glib::Object
127
129       Copyright (C) 2011 by Emmanuel Rodriguez
130
131
132
133perl v5.32.1                      2021-01-27            HTTP::Soup::Session(3)
Impressum