Closed Mael-RABOT closed 1 year ago
requestType : HttpRequestType = "GET"
public async send(url : string, requestType : HttpRequestType = "GET", headers : Headers = new Headers(), body : string = "")
This default parameter allowed caller not to explicitly write GET, which reduces readability and is more error-prone, thus I removed it.
Update httpRequestManager method declaration
requestType : HttpRequestType = "GET"