public function sendBody( ResponseInterface $response, $chunk_size = 4096 ) {
		$body = $this->getBody( $response );
		$content_length = $this->getBodyContentLength( $response );

		if ( $content_length > 0 ) {
			$this->sendBodyWithLength( $body, $content_length, $chunk_size );
		} else {
			$this->sendBodyWithoutLength( $body, $chunk_size );
		}
	}
public function sendBody( ResponseInterface $response, $chunk_size = 4096 ) {
		$body = $this->getBody( $response );
		$content_length = $this->getBodyContentLength( $response );

		if ( $content_length > 0 ) {
			$this->sendBodyWithLength( $body, $content_length, $chunk_size );
		} else {
			$this->sendBodyWithoutLength( $body, $chunk_size );
		}
	}
public function sendBody ( ResponseInterface $ response , $ chunk_size = 4096 ) { $ body = $ this -> getBody ( $ response ) ; $ content_length = $ this -> getBodyContentLength ( $ response ) ; if ( $ content_length > 0 ) { $ this -> sendBodyWithLength ( $ body , $ content_length , $ chunk_size ) ; } else { $ this -> sendBodyWithoutLength ( $ body , $ chunk_size ) ; } }
Send a request's body to the client.

@codeCoverageIgnore
@param  ResponseInterface $response
@param  integer           $chunk_size
@return void
Send a request s body to the client .