OWSHttpRequest
OWSHttpRequest
Super class
ows4R::OGCAbstractObject
-> OWSHttpRequest
Methods
Inherited methods
ows4R::OGCAbstractObject$ERROR()
ows4R::OGCAbstractObject$INFO()
ows4R::OGCAbstractObject$WARN()
ows4R::OGCAbstractObject$encode()
ows4R::OGCAbstractObject$getClass()
ows4R::OGCAbstractObject$getClassName()
ows4R::OGCAbstractObject$getNamespaceDefinition()
ows4R::OGCAbstractObject$isFieldInheritedFrom()
ows4R::OGCAbstractObject$logger()
ows4R::OGCAbstractObject$print()
Method new()
Initializes an OWS HTTP request
Usage
OWSHttpRequest$new(
element,
namespacePrefix,
capabilities,
op,
type,
url,
request,
user = NULL,
pwd = NULL,
token = NULL,
headers = c(),
config = httr::config(),
namedParams = NULL,
attrs = NULL,
contentType = "text/xml",
mimeType = "text/xml",
skipXmlComments = TRUE,
logger = NULL,
...
)
Arguments
element
element
namespacePrefix
namespace prefix
capabilities
object of class or extending OWSCapabilities
op
object of class OWSOperation
type
type of request, eg. GET, POST
url
url
request
request name
user
user
pwd
password
token
token
headers
headers
config
config
namedParams
a named
list
attrs
attributes
contentType
content type. Default value is "text/xml"
mimeType
mime type. Default value is "text/xml"
skipXmlComments
Skip XML comments from response
logger
logger
...
any other parameter