Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

request.d.ts 743B

12345678910111213141516171819202122
  1. /// <reference types="node" />
  2. import { EventEmitter } from 'events';
  3. import * as got from 'got';
  4. import { Options } from './types';
  5. export interface WebDriverResponse {
  6. value: any;
  7. status?: number;
  8. sessionId?: string;
  9. }
  10. export default class WebDriverRequest extends EventEmitter {
  11. body?: Record<string, unknown>;
  12. method: string;
  13. endpoint: string;
  14. isHubCommand: boolean;
  15. requiresSessionId: boolean;
  16. defaultOptions: got.Options;
  17. constructor(method: string, endpoint: string, body?: Record<string, unknown>, isHubCommand?: boolean);
  18. makeRequest(options: Options, sessionId?: string): Promise<WebDriverResponse>;
  19. private _createOptions;
  20. private _request;
  21. }
  22. //# sourceMappingURL=request.d.ts.map