Optional
bodyOptional
fragmentOptional
passwordOptional
portOptional
usernameStatic
cloneStatic
isThis method only actually asserts that request is the interface IHttpRequest, and not necessarily this concrete class. Left in place for API stability.
Do not call instance methods on the input of this function, and do not assume it has the HttpRequest prototype.
Deprecated
use static HttpRequest.clone(request) instead. It's not safe to call this method because HttpRequest.isInstance incorrectly asserts that IHttpRequest (interface) objects are of type HttpRequest (class).