nhn / socket.io-client-unity3d

socket.io-Client for Unity3D, which is compatible with socket.io v1.x
Other
167 stars 42 forks source link

SSL CertificateHandler in Socket for https connect #36

Closed shmhlove closed 4 years ago

shmhlove commented 5 years ago

Please check and apply the modification details of this code.

commit Link

smallmiro commented 5 years ago

Thank's your contribution. Could you write Pull request of your code in our repository? And then can check your code. Please move you're code to our repository, and write Pull request

shmhlove commented 5 years ago

Thank's your contribution. Could you write Pull request of your code in our repository? And then can check your code. Please move you're code to our repository, and write Pull request

Sorry,,

remote: Permission to nhnent/socket.io-client-unity3d.git denied to shmhlove. fatal: unable to access 'https://github.com/nhnent/socket.io-client-unity3d.git/': The requested URL returned error: 403

smallmiro commented 5 years ago

Please read the contribution guide. A Document's link is https://github.com/nhnent/socket.io-client-unity3d/blob/master/CONTRIBUTING.md

dheerajappm commented 4 years ago

Hey @shmhlove can you please tell me how to use the function

public static Socket Connect(string url, CertificateHandler certificateHandler) { var socket = new GameObject(string.Format("socket.io - {0}", url)).AddComponent(); socket.transform.SetParent(SocketManager.Instance.transform, false); socket.Url = new Uri(url); socket.certificateHandler = certificateHandler;

        SocketManager.Instance.Connect(socket);
        return socket;
    }