Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SpacesRequestService

Index

Constructors

constructor

Properties

Private headers

headers: Headers = new Headers()

Generic Request Module for ThreatConnect API

Private http

http: Http

Private logging

Private options

options: RequestOptions = new RequestOptions({headers: this.headers,method: RequestMethod.Get,search: this.params})

Private params

params: URLSearchParams = new URLSearchParams('', new SpacesQueryEncoder())

Private requestUrl

requestUrl: string

Private spacesBase

spacesBase: SpacesBaseService

Private useProxy

useProxy: boolean

Methods

authorization

  • authorization(data: string): this
  • Parameters

    • data: string

    Returns this

body

  • body(data: any): this
  • Parameters

    • data: any

    Returns this

contentType

  • contentType(data: string): this
  • Parameters

    • data: string

    Returns this

createActivityLog

  • createActivityLog(data: boolean): this
  • Parameters

    • data: boolean

    Returns this

Private handleAjaxError

  • handleAjaxError(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

modifiedSince

  • modifiedSince(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 proxyUrl

  • proxyUrl(): void
  • Returns void

request

  • request(): Observable<Response>
  • Returns Observable<Response>

resetOptions

  • resetOptions(): this
  • Returns this

resultLimit

  • resultLimit(data: number): this
  • Parameters

    • data: number

    Returns this

resultStart

  • resultStart(data: number): this
  • Parameters

    • data: number

    Returns this

url

  • url(data: string): this
  • Parameters

    • data: string

    Returns this

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc