class-CAS_Request_RequestInterface

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.
Overview

Classes

Interfaces

Exceptions

Functions

Interface CAS_Request_RequestInterface

This interface defines a class library for performing web requests.

Package: PhpCAS
Category: Authentication
License: Apache License 2.0
Author: Adam Franco afranco@middlebury.edu
Link: https://wiki.jasig.org/display/CASC/phpCAS
Class: CAS_Request_RequestInterface
Located at shared/cas/source/CAS/Request/RequestInterface.php
Methods summary
public
# setUrl( string $url )

Set the URL of the Request

public
# addCookie( string $name, string $value )

Add a cookie to the request.

public
# addCookies( array $cookies )

Add an array of cookies to the request. The cookie array is of the form array('cookie_name' => 'cookie_value', 'cookie_name2' => cookie_value2')

public
# addHeader( string $header )

Add a header string to the request.

public
# addHeaders( array $headers )

Add an array of header strings to the request.

public
# makePost( )

Make the request a POST request rather than the default GET request.

public
# setPostBody( string $body )

Add a POST body to the request

public
# setSslCaCert( string $caCertPath, boolean $validate_cn = true )

Specify the path to an SSL CA certificate to validate the server with.

public boolean
# send( )

Perform the request.

public array
# getResponseHeaders( )

Answer the headers of the response.

public integer
# getResponseStatusCode( )

Answer HTTP status code of the response

public string
# getResponseBody( )

Answer the body of response.

public string
# getErrorMessage( )

Answer a message describing any errors if the request failed.

 

© 2004-2018 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy