Archived
1
0

Improve HTTP provider registration

This commit is contained in:
Asher
2020-02-04 16:55:27 -06:00
parent 4a54e914fc
commit dbc5c065f8
4 changed files with 40 additions and 16 deletions

View File

@ -18,7 +18,7 @@ interface LoginPayload extends PostData {
export class ApiHttpProvider extends HttpProvider {
private readonly ws = new ws.Server({ noServer: true })
public constructor(private readonly server: HttpServer, options: HttpProviderOptions) {
public constructor(options: HttpProviderOptions, private readonly server: HttpServer) {
super(options)
}