summaryrefslogtreecommitdiff
path: root/slips/src/app/Marina/Web/Http/IHttpGateway.cs
blob: 93164adf6cc6cdca60ca1fdfbe115ea905dbe7cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 );
	}
}