This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Disposables; | |
using System.IO; | |
using System.Linq; | |
using System.Threading; | |
namespace RxVsTplSamples | |
{ | |
public static partial class Extensions | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this snippet assumes the IAsyncResult implementation provided here: | |
// http://msdn.microsoft.com/en-us/magazine/cc163467.aspx | |
using System; | |
using Owin; | |
namespace TransformMiddleware | |
{ | |
// Defines a tranformation of an HTTP context. | |
public interface IHttpTransform |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IApplication { | |
// either may throw exception | |
IAsyncResult BeginInvoke(IRequest request, AsyncCallback callback, object state); | |
IResponse EndInvoke(IAsyncResult result); | |
} |
NewerOlder