Skip to main content

SessionFactory

Assembly: ServiceStack.dll
View Source
Declaration
public class SessionFactory : ISessionFactory

Methods

GetOrCreateSession(IRequest, IResponse)

View Source
Declaration
public ISession GetOrCreateSession(IRequest httpReq, IResponse httpRes)
Returns

ServiceStack.Caching.ISession

Parameters
TypeName
ServiceStack.Web.IRequesthttpReq
ServiceStack.Web.IResponsehttpRes

GetOrCreateSessionAsync(IRequest, IResponse)

View Source
Declaration
public ISessionAsync GetOrCreateSessionAsync(IRequest httpReq, IResponse httpRes)
Returns

ServiceStack.Caching.ISessionAsync

Parameters
TypeName
ServiceStack.Web.IRequesthttpReq
ServiceStack.Web.IResponsehttpRes

GetOrCreateSession()

View Source
Declaration
public ISession GetOrCreateSession()
Returns

ServiceStack.Caching.ISession

GetOrCreateSessionAsync()

View Source
Declaration
public ISessionAsync GetOrCreateSessionAsync()
Returns

ServiceStack.Caching.ISessionAsync

CreateSession(String)

View Source
Declaration
public ISession CreateSession(string sessionId)
Returns

ServiceStack.Caching.ISession

Parameters
TypeName
System.StringsessionId

CreateSessionAsync(String)

View Source
Declaration
public ISessionAsync CreateSessionAsync(string sessionId)
Returns

ServiceStack.Caching.ISessionAsync

Parameters
TypeName
System.StringsessionId

Implements