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
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | httpReq |
ServiceStack.Web.IResponse | httpRes |
GetOrCreateSessionAsync(IRequest, IResponse)
View Source
Declaration
public ISessionAsync GetOrCreateSessionAsync(IRequest httpReq, IResponse httpRes)
Returns
ServiceStack.Caching.ISessionAsync
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | httpReq |
ServiceStack.Web.IResponse | httpRes |
GetOrCreateSession()
View Source
Declaration
public ISession GetOrCreateSession()
Returns
GetOrCreateSessionAsync()
View Source
Declaration
public ISessionAsync GetOrCreateSessionAsync()
Returns
ServiceStack.Caching.ISessionAsync
CreateSession(String)
View Source
Declaration
public ISession CreateSession(string sessionId)
Returns
Parameters
Type | Name |
---|---|
System.String | sessionId |
CreateSessionAsync(String)
View Source
Declaration
public ISessionAsync CreateSessionAsync(string sessionId)
Returns
ServiceStack.Caching.ISessionAsync
Parameters
Type | Name |
---|---|
System.String | sessionId |