(http: string)
| 82 | } |
| 83 | |
| 84 | function wsUrl(http: string): string { |
| 85 | return http.replace(/^http:\/\//, 'ws://') + '/api/v1/ws'; |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * Raw HTTP GET that lets us set an arbitrary `Host` header. Node's `fetch` |
no outgoing calls
no test coverage detected