Skip to content

Instantly share code, notes, and snippets.

View mitchcapper's full-sized avatar

Mitch Capper (they, them) mitchcapper

View GitHub Profile
@mitchcapper
mitchcapper / NetCoreSignalWebSocket.cs
Last active August 20, 2018 23:09
Signal sample for signal-csharp/libsignal-service-dotnet#9 .net core certificate validating web socket
using libsignalservice;
using libsignalservice.push.exceptions;
using libsignalservice.websocket;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Security;
using System.Net.WebSockets;