OWSHttpRequest
OWSHttpRequest
Format
R6Class object.
Value
Object of R6Class for modelling a generic OWS http request
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
elementelement
namespacePrefixnamespace prefix
capabilitiesobject of class or extending OWSCapabilities
opobject of class OWSOperation
typetype of request, eg. GET, POST
urlurl
requestrequest name
useruser
pwdpassword
tokentoken
headersheaders
configconfig
namedParamsa named
listattrsattributes
contentTypecontent type. Default value is "text/xml"
mimeTypemime type. Default value is "text/xml"
skipXmlCommentsSkip XML comments from response
loggerlogger
...any other parameter