Home Reference Source Repository
import {TextRequest} from 'dh3dlib/js/util/TextRequest.js'
public class | source

TextRequest

Extends:

AjaxRequest → TextRequest

TextRequest class

Constructor Summary

Public Constructor
public

constructor

Method Summary

Public Methods
public

getWithCharset(url: *, charset: *, options: {}): *

public

postWithCharset(url: *, charset: *, options: {}): *

Inherited Summary

From class AjaxRequest
public
public

get(url: *, options: {}): *

public

post(url: *, options: {}): *

public

request(url: *, options: {}): *

Public Constructors

public constructor source

constructor

Override:

AjaxRequest#constructor

Public Methods

public getWithCharset(url: *, charset: *, options: {}): * source

Params:

NameTypeAttributeDescription
url *
charset *
options {}
  • optional
  • default: {}

Return:

*

public postWithCharset(url: *, charset: *, options: {}): * source

Params:

NameTypeAttributeDescription
url *
charset *
options {}
  • optional
  • default: {}

Return:

*