diff options
Diffstat (limited to 'slips/src/app/Marina/Web/Http/IHttpGateway.cs')
| -rw-r--r-- | slips/src/app/Marina/Web/Http/IHttpGateway.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/slips/src/app/Marina/Web/Http/IHttpGateway.cs b/slips/src/app/Marina/Web/Http/IHttpGateway.cs new file mode 100644 index 0000000..93164ad --- /dev/null +++ b/slips/src/app/Marina/Web/Http/IHttpGateway.cs @@ -0,0 +1,16 @@ +using Marina.Presentation;
+using Marina.Web.Views;
+
+namespace Marina.Web.Http {
+ public interface IHttpGateway {
+ string Destination();
+
+ void RedirectTo( IView view );
+
+ void AddAuthenticationCookieFor( string username, long customerId );
+
+ bool ContainsPayload< T >( PayloadKey< T > key );
+
+ T ParsePayloadFor< T >( PayloadKey< T > key );
+ }
+}
\ No newline at end of file |
