phpCAS version 1.3.6

RequestInterface.php
Go to the documentation of this file.
1 <?php
2
40 interface CAS_Request_RequestInterface
41 {
42
43 /*********************************************************
44 * Configure the Request
45 *********************************************************/
46
55 public function setUrl ($url);
56
66 public function addCookie ($name, $value);
67
78 public function addCookies (array $cookies);
79
88 public function addHeader ($header);
89
98 public function addHeaders (array $headers);
99
106 public function makePost ();
107
116 public function setPostBody ($body);
117
118
128 public function setSslCaCert ($caCertPath, $validate_cn = true);
129
130
131
132 /*********************************************************
133 * 2. Send the Request
134 *********************************************************/
135
142 public function send ();
143
144 /*********************************************************
145 * 3. Access the response
146 *********************************************************/
147
154 public function getResponseHeaders ();
155
162 public function getResponseStatusCode ();
163
170 public function getResponseBody ();
171
178 public function getErrorMessage ();
179 }
CAS_Request_RequestInterface\getResponseStatusCode
getResponseStatusCode()
CAS_Request_RequestInterface
Definition: RequestInterface.php:40
CAS_Request_RequestInterface\setPostBody
setPostBody($body)
CAS_Request_RequestInterface\makePost
makePost()
CAS_Request_RequestInterface\send
send()
CAS_Request_RequestInterface\addHeaders
addHeaders(array $headers)
CAS_Request_RequestInterface\setSslCaCert
setSslCaCert($caCertPath, $validate_cn=true)
CAS_Request_RequestInterface\getResponseBody
getResponseBody()
CAS_Request_RequestInterface\addCookie
addCookie($name, $value)
CAS_Request_RequestInterface\setUrl
setUrl($url)
CAS_Request_RequestInterface\getResponseHeaders
getResponseHeaders()
CAS_Request_RequestInterface\addCookies
addCookies(array $cookies)
CAS_Request_RequestInterface\getErrorMessage
getErrorMessage()
CAS_Request_RequestInterface\addHeader
addHeader($header)