flow-interfaces-google-apps-script
Version:
Flow interface declarations for the Google Apps Script API
14 lines (12 loc) • 395 B
JavaScript
// @flow
// @see https://developers.google.com/apps-script/reference/url-fetch/http-response#getResponseCode()
declare class gas$HTTPResponse {
getAllHeaders(): Object;
getAs(contentType: gas$ContentType): Blob;
getBlob(): Blob;
getContent(): gas$Byte[];
getContentText(): String;
getContentText(charset: string): string;
getHeaders(): gas$Headers;
getResponseCode(): number;
}