Interface Agent

Index

Methods

Methods

public attachCookies(req: Request)

Parameters

public checkout(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public copy(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public del(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public get(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public head(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public lock(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public merge(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public mkactivity(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public mkcol(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public move(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public notify(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public options(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public parse(fn: Function): Request

Parameters

  • fn: Function

Returns

Request

public patch(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public post(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public propfind(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public proppatch(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public put(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public report(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public saveCookies(res: Response)

Parameters

public subscribe(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public trace(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public unlock(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request

public unsubscribe(url: string, callback?: (err: Error, res: "superagent".Response) => void): Request

Parameters

  • url: string
  • callback?: (err: Error, res: "superagent".Response) => void optional

Returns

Request