Exemplo n.º 1
0
        public void OwinHttpListener_HttpsCreatedStartedStoppedDisposed_Success()
        {
            OwinHttpListener listener = CreateServer(_notImplemented, HttpsServerAddress);

            using (listener)
            {
                listener.Stop();
            }
        }
Exemplo n.º 2
0
        public void Ctor_PathMissingEndSlash_Added()
        {
            OwinHttpListener listener = CreateServer(_notImplemented, new string[]
            {
                "http", "localhost", "8080", "/BadPathDoesntEndInSlash"
            });

            using (listener)
            {
                listener.Stop();
            }
        }