Skip to content

Instantly share code, notes, and snippets.

@mashiro
Created December 27, 2016 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mashiro/f1f070ee55486428dd2c13ccc698b357 to your computer and use it in GitHub Desktop.
Save mashiro/f1f070ee55486428dd2c13ccc698b357 to your computer and use it in GitHub Desktop.
# 接続
if( $this->{with_ssl} )
{
$this->{socket} = Tools::HTTPClient::SSL->new()->connect($this->{host}, $port);
#$this->{socket} = Tools::HTTPClient::SSL->new()->connect($addr, $port);
}else
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment