Class rex_socket_proxy

Class for sockets over a proxy.

rex_socket
Extended by rex_socket_proxy
Package: redaxo\core
Author: gharlan
Located at redaxo/src/core/lib/util/socket/socket_proxy.php

Methods summary

public mixed
# setDestination( string $host, integer $port = 80, boolean $ssl = false )

Sets the destination.

public mixed
# setDestinationUrl( string $url )

Sets the destination by a full URL.

protected
# openConnection( )

Opens the socket connection.

Methods inherited from rex_socket

__construct(), addBasicAuthorization(), addHeader(), doDelete(), doGet(), doPost(), doRequest(), factory(), factoryUrl(), followRedirects(), parseUrl(), setPath(), setTimeout(), writeRequest()

Properties summary

protected mixed $destinationHost
protected mixed $destinationPort
protected mixed $destinationSsl

Properties inherited from rex_socket

$followRedirects, $headers, $host, $path, $port, $ssl, $stream, $timeout