Lines Matching refs:request

98      * Outstanding request statuses keyed by request id
100 * Each request is an array with following form:
153 * alive at the end of a request
177 * request for efficiency
441 $request = '';
443 $request .= $this->buildNvpair($info, '');
445 fwrite($this->_sock, $this->buildPacket(self::GET_VALUES, $request, 0));
456 * Execute a request to the FastCGI application and return response body
465 public function request(array $params, $stdin)
472 * Execute a request to the FastCGI application and return request data
488 * Execute a request to the FastCGI application asyncronously
490 * This sends request to application and returns the assigned ID for that request.
494 * In that case it is possible that a delayed response to a request made by a previous script
495 * invocation comes back on this socket and is mistaken for response to request made with same
496 * ID during this request.
514 $request = $this->buildPacket(
526 $request .= $this->buildPacket(self::PARAMS, $paramsRequest, $id);
528 $request .= $this->buildPacket(self::PARAMS, '', $id);
531 $request .= $this->buildPacket(self::STDIN, $stdin, $id);
533 $request .= $this->buildPacket(self::STDIN, '', $id);
535 if (fwrite($this->_sock, $request) === false || fflush($this->_sock) === false) {
545 throw new \Exception('Failed to write request to socket');
559 * Blocking call that waits for response data of the specific request
571 throw new \Exception('Invalid request id given');
642 throw new \Exception('New request rejected; too busy [OVERLOADED]');
653 * Blocking call that waits for response to specific request