Overview

Namespaces

  • Coast
    • App
      • Access
      • Executable
    • Controller
    • Csrf
    • Dir
    • Feed
    • File
    • Filter
      • Rule
    • Http
    • Image
    • Model
      • Exception
    • Resolver
    • Router
    • Sitemap
    • Transformer
      • Rule
    • Validator
      • Rule
    • View

Classes

  • Request
  • Response

Exceptions

  • Exception
  • Overview
  • Namespace
  • Class
  • Deprecated
  • Todo

Class Request

Namespace: Coast\Http
Located at Http/Request.php
Methods summary
public
# __construct( array $options = array() )
public
# method( $method = null )
public
# url( Coast\Url $url = null )
public
# auth( array $auth = null )
public
# header( $name, $value = null )
public
# headers( array $headers = null )
public
# type( $type = null )
public
# body( $body = null )
public
# text( $text )
public
# html( $html )
public
# json( $json, $options = JSON_PRETTY_PRINT, $depth = 512 )
public
# xml( $xml, $type = null, $options = null )
public
# file( Coast\File $file, $type = null )
Constants summary
string METHOD_HEAD
# 'HEAD'
string METHOD_GET
# 'GET'
string METHOD_POST
# 'POST'
string METHOD_PUT
# 'PUT'
string METHOD_DELETE
# 'DELETE'
integer AUTH_ANY
# CURLAUTH_ANY
integer AUTH_ANYSAFE
# CURLAUTH_ANYSAFE
integer AUTH_BASIC
# CURLAUTH_BASIC
integer AUTH_DIGEST
# CURLAUTH_DIGEST
integer AUTH_GSSNEGOTIATE
# CURLAUTH_GSSNEGOTIATE
integer AUTH_NTLM
# CURLAUTH_NTLM
Properties summary
protected string $_method
# self::METHOD_GET
protected $_url
#
protected $_auth
#
protected array $_headers
# []
protected $_body
#
Coast API Documentation API documentation generated by ApiGen