Net::HTTPS(3)

πŸ’– Net::HTTPS πŸ’–

okay bestie, this is the page for Net::HTTPS(3) β€” it lives in the User Contributed Perl Documentation section of the manual, and it's about low-level HTTP over SSL/TLS connections (client side, obvi). come sit with me, it's short and it's cute πŸŽ€


✨ NAME ✨

Net::HTTPS β€” Low-level HTTP over SSL/TLS connection (client)


🌸 VERSION 🌸

version 6.24 β€” yes she's got a number and yes she's proud of it πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so Net::HTTPS is a low-level HTTP over SSL/TLS client. the interface? literally the same as Net::HTTP's interface. no cap. the only glow-up is that the constructor takes extra parameters, exactly the ones IO::Socket::SSL accepts. 🫢

and here's the part that's giving inheritance realness: the Net::HTTPS object is an IO::Socket::SSL too, which means it inherits extra methods from that base class. main character energy, honestly.

now for the history lesson πŸ“œ β€” for historical reasons this module also supports using Net::SSL (that's from the Crypt-SSLeay distribution) as its SSL driver and base class. this base gets automatically selected if it's available and IO::Socket::SSL isn't. you can also force which implementation to use by setting $Net::HTTPS::SSL_SOCKET_CLASS before loading this module. if you don't set it, that variable gets initialized from the PERL_NET_HTTPS_SSL_SOCKET_CLASS environment variable. iykyk ✨


🌈 ENVIRONMENT 🌈

  • you might set the PERL_NET_HTTPS_SSL_SOCKET_CLASS environment variable to the name of the base SSL implementation (and Net::HTTPS base class) you wanna use. the default is IO::Socket::SSL. currently the only other supported value is Net::SSL. that's it, that's the whole list, don't come for me πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

  • Net::HTTP
  • IO::Socket::SSL

go read those too bestie, they're the supporting cast 🧚


πŸ’œ AUTHOR πŸ’œ

Gisle Aas <gisle@activestate.com>


This software is copyright (c) 2001 by Gisle Aas.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

fr fr, go wild with it β€” just keep the Perl 5 terms and you're golden ⭐

and that's a wrap, gorgeous 🌸 this was Net::HTTPS(3) from perl v5.42.0, dated 2025-09-01 β€” slay, go encrypt something πŸ’–βœ¨

πŸ“¦ where this page comes from