Skip to content
This repository was archived by the owner on Sep 20, 2022. It is now read-only.
This repository was archived by the owner on Sep 20, 2022. It is now read-only.

Build error with WebPlayer #8

@RDeluxe

Description

@RDeluxe

Hi !

Tks a lot for this library. I encounter those errors when I switch my project build settings to "webplayer" :

Assets/SocketIO/websocket-sharp/Ext.cs(88,81): error CS1729: The type System.IO.Compression.DeflateStream' does not contain a constructor that takes 3' arguments

Assets/SocketIO/websocket-sharp/Ext.cs(125,83): error CS1729: The type System.IO.Compression.DeflateStream' does not contain a constructor that takes 3' arguments

Assets/SocketIO/websocket-sharp/Net/HttpConnection.cs(115,43): error CS1061: Type WebSocketSharp.Net.Security.SslStream' does not contain a definition for AuthenticateAsServer' and no extension method AuthenticateAsServer' of type WebSocketSharp.Net.Security.SslStream' could be found (are you missing a using directive or an assembly reference?)

I have no problem with Android, IOS, windows, or windows Phone.

I don't have any error in Visual Studio, and a quick checking of the DeflateStream class shows a constructor with 3 arguments ...

I suppose it's because of System.IO not being available with the webplayer. But in this case, does that mean this library does not work with the webplayer at all ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions