rodgc/ngx-socket-io

Options missing "extraHeaders"

Opened this issue · 3 comments

The interface of SocketIoConfig options is missing the "extraHeaders" attribute.
I tested it myself and it worked flawlessly. Since the socket.io-client supports it for a while now, it should definetly be a thing.
Docs

export interface SocketIoConfig {
   ...
   options?: {
      ...
      extraHeaders?: {
         [header: string]: string;
      };
   }
}

@Witzler How can I get this "extraHeaders" in my current installed project?

npm install the current master branch