spaces-ng
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Spaces
Query
Encoder
Spaces
Request
Service
constructor
headers
http
logging
options
params
request
Url
spaces
Base
use
Proxy
authorization
body
content
Type
create
Activity
Log
handle
Ajax
Error
header
method
modified
Since
owner
param
proxy
proxy
Url
request
reset
Options
result
Limit
result
Start
url
Hierarchy
SpacesRequestService
Index
Constructors
constructor
Properties
headers
http
logging
options
params
request
Url
spaces
Base
use
Proxy
Methods
authorization
body
content
Type
create
Activity
Log
handle
Ajax
Error
header
method
modified
Since
owner
param
proxy
proxy
Url
request
reset
Options
result
Limit
result
Start
url
Constructors
constructor
new
Spaces
Request
Service
(
http
:
Http
, logging
:
SpacesLoggingService
, spacesBase
:
SpacesBaseService
)
:
SpacesRequestService
Parameters
http:
Http
logging:
SpacesLoggingService
spacesBase:
SpacesBaseService
Returns
SpacesRequestService
Properties
Private
headers
headers
:
Headers
= new Headers()
Generic Request Module for ThreatConnect API
Private
http
http
:
Http
Private
logging
logging
:
SpacesLoggingService
Private
options
options
:
RequestOptions
= new RequestOptions({headers: this.headers,method: RequestMethod.Get,search: this.params})
Private
params
params
:
URLSearchParams
= new URLSearchParams('', new SpacesQueryEncoder())
Private
request
Url
request
Url
:
string
Private
spaces
Base
spaces
Base
:
SpacesBaseService
Private
use
Proxy
use
Proxy
:
boolean
Methods
authorization
authorization
(
data
:
string
)
:
this
Parameters
data:
string
Returns
this
body
body
(
data
:
any
)
:
this
Parameters
data:
any
Returns
this
content
Type
content
Type
(
data
:
string
)
:
this
Parameters
data:
string
Returns
this
create
Activity
Log
create
Activity
Log
(
data
:
boolean
)
:
this
Parameters
data:
boolean
Returns
this
Private
handle
Ajax
Error
handle
Ajax
Error
(
error
:
Response
)
:
Promise
<
never
>
Parameters
error:
Response
Returns
Promise
<
never
>
header
header
(
key
:
string
, val
:
any
)
:
this
Parameters
key:
string
val:
any
Returns
this
method
method
(
data
:
string
)
:
this
Parameters
data:
string
Returns
this
modified
Since
modified
Since
(
data
:
string
)
:
this
Parameters
data:
string
Returns
this
owner
owner
(
data
:
string
)
:
this
Parameters
data:
string
Returns
this
param
param
(
key
:
string
, val
:
any
)
:
this
Parameters
key:
string
val:
any
Returns
this
proxy
proxy
(
data
:
boolean
)
:
this
Parameters
data:
boolean
Returns
this
Private
proxy
Url
proxy
Url
(
)
:
void
Returns
void
request
request
(
)
:
Observable
<
Response
>
Returns
Observable
<
Response
>
reset
Options
reset
Options
(
)
:
this
Returns
this
result
Limit
result
Limit
(
data
:
number
)
:
this
Parameters
data:
number
Returns
this
result
Start
result
Start
(
data
:
number
)
:
this
Parameters
data:
number
Returns
this
url
url
(
data
:
string
)
:
this
Parameters
data:
string
Returns
this
Generated using
TypeDoc
Generic Request Module for ThreatConnect API