public function send($message = null, array $options = []) {
		$defaults = ['response' => $this->_classes['response']];
		$options += $defaults;

		if ($this->write($message)) {
			$config = ['message' => $this->read()] + $this->_config;
			return $this->_instance($options['response'], $config);
		}
	}
public function send($message = null, array $options = []) {
		$defaults = ['response' => $this->_classes['response']];
		$options += $defaults;

		if ($this->write($message)) {
			$config = ['message' => $this->read()] + $this->_config;
			return $this->_instance($options['response'], $config);
		}
	}
public function send ( $ message = null , array $ options = [ ] ) { $ defaults = [ 'response' => $ this -> _classes [ 'response' ] ] ; $ options += $ defaults ; if ( $ this -> write ( $ message ) ) { $ config = [ 'message' => $ this -> read ( ) ] + $ this -> _config ; return $ this -> _instance ( $ options [ 'response' ] , $ config ) ; } }
Aggregates read and write methods into a coherent request response

@param \lithium\net\Message $message
@param array $options
- '`response`': a fully-namespaced string for the response object
@return object a response object based on `\lithium\net\Message`
Aggregates read and write methods into a coherent request response