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.

agent.d.ts 941B

1234567891011121314151617181920212223242526272829303132
  1. /// <reference types="node" />
  2. import net from 'net';
  3. import { Agent, ClientRequest, RequestOptions } from 'agent-base';
  4. import { HttpProxyAgentOptions } from '.';
  5. interface HttpProxyAgentClientRequest extends ClientRequest {
  6. path: string;
  7. output?: string[];
  8. outputData?: {
  9. data: string;
  10. }[];
  11. _header?: string | null;
  12. _implicitHeader(): void;
  13. }
  14. /**
  15. * The `HttpProxyAgent` implements an HTTP Agent subclass that connects
  16. * to the specified "HTTP proxy server" in order to proxy HTTP requests.
  17. *
  18. * @api public
  19. */
  20. export default class HttpProxyAgent extends Agent {
  21. private secureProxy;
  22. private proxy;
  23. constructor(_opts: string | HttpProxyAgentOptions);
  24. /**
  25. * Called when the node-core HTTP client library is creating a
  26. * new HTTP request.
  27. *
  28. * @api protected
  29. */
  30. callback(req: HttpProxyAgentClientRequest, opts: RequestOptions): Promise<net.Socket>;
  31. }
  32. export {};