HTTP::S...:Session(3)
β¨ NAME β¨
HTTP::Soup::Session β it's the Perl glue for Soup's session thing, and yes bestie, this is from the HTTP::S...:Session(3) manual page (User Contributed Perl Documentation, iykyk π
).
πΈ HIERARCHY πΈ
Okay so the family tree situation is giving:
Glib::Object
+----HTTP::Soup::Session
So HTTP::Soup::Session is a Glib::Object that went and got itself a whole personality. Main character energy, fr fr π
π METHODS π
$session->queue_message ($msg, $sv_callback, $sv_user_data=undef)
The one and only method on this page, and she's serving π«Ά. Here's what you're passing in:
$msg(HTTP::Soup::Message) β the message, obviously, that's the whole point$sv_callback(scalar) β your callback scalar$sv_user_data(scalar) β your user data scalar, and it defaults toundefif you don't bring it
π PROPERTIES π
Bestie, there are twenty-three of these and we are listing every single one, no skipping, periodt. Every one of them is tagged readable / writable / private / static-nick / static-blurb unless I say otherwise, so pay attention to the little extras okay?? π
'accept-language'(string: defaultundef: readable / writable / private / static-nick / static-blurb) β the Accept-Language string, literally just that'accept-language-auto'(boolean: defaultfalse: readable / writable / private / static-nick / static-blurb) β Accept-Language automatic mode, she does it herself'add-feature'(HTTP::Soup::SessionFeature: defaultundef: readable / writable / private / static-nick / static-blurb) β drops a feature object into the session, so generous'add-feature-by-type'(Glib::GType: default"Glib::Object": readable / writable / private / static-nick / static-blurb) β same but you hand it a type and it adds a feature object of that type. Slay'async-context'(gpointer: default0: readable / writable / construct-only / private / static-nick / static-blurb) β theGMainContextwhere async I/O gets dispatched. Note the construct-only bestie, she's set at birth and that's that π'http-aliases'(Glib::Strv: defaultundef: readable / writable / private / static-nick / static-blurb) β URI schemes considered aliases for'http''https-aliases'(Glib::Strv: defaultundef: readable / writable / private / static-nick / static-blurb) β URI schemes considered aliases for'https''idle-timeout'(Glib::UInt: default60: readable / writable / private / static-nick / static-blurb) β connection lifetime when idle, so she doesn't just hang around forever'local-address'(HTTP::Soup::Address: defaultundef: readable / writable / construct-only / private / static-nick / static-blurb) β address of the local end of the socket. Also construct-only, so same deal π«Ά'max-conns'(integer: default10: readable / writable / private / static-nick / static-blurb) β the maximum number of connections the session can open at once'max-conns-per-host'(integer: default2: readable / writable / private / static-nick / static-blurb) β the maximum number of connections the session can open at once to a given host, yes that's different, read it again'proxy-resolver'(Glib::Object::_Unregistered::GProxyResolver: defaultundef: readable / writable / private / static-nick / static-blurb) β theGProxyResolverthis session should use'proxy-uri'(HTTP::Soup::URI: defaultundef: readable / writable / private / static-nick / static-blurb / deprecated) β the HTTP Proxy for this session. Deprecated bestie, she's on her way out π'remove-feature-by-type'(Glib::GType: default"Glib::Object": readable / writable / private / static-nick / static-blurb) β yanks features of the given type back out of the session. Bye π'ssl-ca-file'(string: defaultundef: readable / writable / private / static-nick / static-blurb / deprecated) β file containing SSL CA certificates. Also deprecated, sad'ssl-strict'(boolean: defaulttrue: readable / writable / private / static-nick / static-blurb) β whether certificate errors count as a connection error. Default istrue, so she's strict and she's right to be'ssl-use-system-ca-file'(boolean: defaulttrue: readable / writable / private / static-nick / static-blurb) β use the system certificate database'timeout'(Glib::UInt: default0: readable / writable / private / static-nick / static-blurb) β value in seconds to timeout a blocking I/O'tls-database'(Glib::Object::_Unregistered::GTlsDatabase: defaultundef: readable / writable / private / static-nick / static-blurb) β TLS database to use'tls-interaction'(Glib::Object::_Unregistered::GTlsInteraction: defaultundef: readable / writable / private / static-nick / static-blurb) β TLS interaction to use'use-ntlm'(boolean: defaultfalse: readable / writable / private / static-nick / static-blurb / deprecated) β whether or not to use NTLM authentication. Deprecated, third one, we're collecting them at this point π'use-thread-context'(boolean: defaultfalse: readable / writable / private / static-nick / static-blurb) β whether to use thread-default main contexts'user-agent'(string: defaultundef: readable / writable / private / static-nick / static-blurb) β User-Agent string, the classic
π¦ SIGNALS π¦
The session be emitting, and here's every single one with its exact parameter list:
authenticate(HTTP::Soup::Session,HTTP::Soup::Message,HTTP::Soup::Auth,boolean)connection-created(HTTP::Soup::Session,Glib::Object)request-queued(HTTP::Soup::Session,HTTP::Soup::Message)request-started(HTTP::Soup::Session,HTTP::Soup::Message,HTTP::Soup::Socket)request-unqueued(HTTP::Soup::Session,HTTP::Soup::Message)tunneling(HTTP::Soup::Session,Glib::Object)
π SEE ALSO π
Go look at these too, they're the friends of this page:
HTTP::SoupGlib::Object
π COPYRIGHT π
Copyright (C) 2011 by Emmanuel Rodriguez
And that's the whole page bestie, we ate and left no crumbs π β¨
This was perl v5.42.0, dated 2025-07-25 β mwah, stan, see you in the next manpage ππ¦πΈ
π¦ where this page comes from
- fedora 43: perl-HTTP-Soup 0.01-39.fc43 Β· LicenseRef-Callaway-LGPLv2 OR Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms