HttpMessage::toMessageTypeObject

 public HttpRequest|HttpResponse HttpMessage::toMessageTypeObject ( void ) 

説明

Creates an object regarding to the type of the message.

戻り値

Returns either an HttpRequest or HttpResponse object on success, or NULL on failure.