Learn R Programming

R.rsp (version 0.43.0)

getProtocol.HttpRequest: Gets the name and version of the protocol used to make this request

Description

Gets the name and version of the protocol used to make this request, e.g. HTTP/1.1.

Usage

# S3 method for HttpRequest
getProtocol(this, ...)

Arguments

...

Not used.

Value

Returns a character string.

See Also

getScheme(). For more information see HttpRequest.