getProtocol.HttpRequest {R.rsp}R Documentation

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 class 'HttpRequest':
getProtocol(this, ...)

Arguments

... Not used.

Value

Returns a character string.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

getScheme(). For more information see HttpRequest.


[Package R.rsp version 0.3.4 Index]