src/Scriptotek/Ncip/NcipClient.php
public function post(Request $request)
	{
		$this->emit('message.send', array($request->xml()));
		$response = $this->connector->post($request);
		$this->emit('message.recv', array($response));

		try {
			return $this->parseXml($response);
		} catch (InvalidXMLException $e) {
			throw new InvalidNcipResponseException(
				'Invalid response received from the NCIP service "' .
				$this->connector->url . '": ' . $response
			);
		}
	}
public function post(Request $request)
	{
		$this->emit('message.send', array($request->xml()));
		$response = $this->connector->post($request);
		$this->emit('message.recv', array($response));

		try {
			return $this->parseXml($response);
		} catch (InvalidXMLException $e) {
			throw new InvalidNcipResponseException(
				'Invalid response received from the NCIP service "' .
				$this->connector->url . '": ' . $response
			);
		}
	}
public function post ( Request $ request ) { $ this -> emit ( 'message.send' , array ( $ request -> xml ( ) ) ) ; $ response = $ this -> connector -> post ( $ request ) ; $ this -> emit ( 'message.recv' , array ( $ response ) ) ; try { return $ this -> parseXml ( $ response ) ; } catch ( InvalidXMLException $ e ) { throw new InvalidNcipResponseException ( 'Invalid response received from the NCIP service "' . $ this -> connector -> url . '": ' . $ response ) ; } }
Make a POST request to the NCIP server and return the response

@param  Request
@return Danmichaelo\QuiteSimpleXMLElement\QuiteSimpleXMLElement
Make a POST request to the NCIP server and return the response