PHP Class SimpleHTTP, aprilchild

Built on the technologies developed and maintained by April-Child.com Copyright (c)2007 Petr Krontorad, April-Child.com. Author: Petr Krontorad, [email protected] All rights reserved. ------------------------------------------------------------------------------------------
Exibir arquivo Open project: aprilchild/aprilchild Class Usage Examples

Public Methods

Method Description
send ( $method, $hostname, $port, $url_path, $data = [], $headers = [] )
send_get ( $hostname, $url_path, $data = [] )
send_post ( $hostname, $url_path, $data = [] )

Protected Methods

Method Description
decode_body ( $headers, $str, $eol = " " )

Method Details

decode_body() protected static method

protected static decode_body ( $headers, $str, $eol = " " )

send() public static method

public static send ( $method, $hostname, $port, $url_path, $data = [], $headers = [] )

send_get() public static method

public static send_get ( $hostname, $url_path, $data = [] )

send_post() public static method

public static send_post ( $hostname, $url_path, $data = [] )