Skip to content

v1.2.5.28-beta

Pre-release
Pre-release
Compare
Choose a tag to compare
@darkl darkl released this 19 Dec 19:05
· 467 commits to master since this release

Added Owin transport (WampSharp.Owin). Usage:

using Owin;
using WampSharp.Binding;
using WampSharp.Owin;
using WampSharp.V2;

[assembly: OwinStartup(typeof(Startup))]

namespace WebApplication1
{
    public class Startup
    {
        public void Configuration(IAppBuilder app)
        {
            WampHost host = new WampHost();

            host.RegisterTransport(new OwinWebSocketTransport(app),
                                   new JTokenJsonBinding());

            host.Open();
        }
    }
}