![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/ts.corals.io/frontend/node_modules/pusher-js/src/core/http/ |
import HTTPSocket from './http_socket'; import SocketHooks from './socket_hooks'; import HTTPRequest from './http_request'; import RequestHooks from './request_hooks'; import Ajax from './ajax'; interface HTTPFactory { createStreamingSocket(url: string): HTTPSocket; createPollingSocket(url: string): HTTPSocket; createSocket(hooks: SocketHooks, url: string): HTTPSocket; createXHR(method: string, url: string): HTTPRequest; createXDR?(method: string, url: string): HTTPRequest; createRequest(hooks: RequestHooks, method: string, url: string): HTTPRequest; } export default HTTPFactory;