MarkdownHandler
Assembly: ServiceStack.Razor.dll
View Source
Declaration
public class MarkdownHandler : ServiceStackHandlerBase, IHttpAsyncHandler, IHttpHandler, IServiceStackHandler
Properties
MarkdownFormat
View Source
Declaration
public MarkdownFormat MarkdownFormat { get; set; }
MarkdownPage
View Source
Declaration
public MarkdownPage MarkdownPage { get; set; }
Model
View Source
Declaration
public object Model { get; set; }
PathInfo
View Source
Declaration
public string PathInfo { get; set; }
Inherited Properties
HandlerAttributes
View Source
Declaration
public RequestAttributes HandlerAttributes { get; set; }
IsReusable
View Source
Declaration
public override bool IsReusable { get; }
Methods
ProcessRequest(IRequest, IResponse, String)
View Source
Declaration
public override void ProcessRequest(IRequest httpReq, IResponse httpRes, string operationName)
Parameters
Type | Name |
---|---|
IRequest | httpReq |
IResponse | httpRes |
System.String | operationName |
Inherited Methods
AssertAccess(IHttpRequest, IHttpResponse, Feature, String)
View Source
Declaration
protected bool AssertAccess(IHttpRequest httpReq, IHttpResponse httpRes, Feature feature, string operationName)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.Web.IHttpRequest | httpReq |
ServiceStack.Web.IHttpResponse | httpRes |
ServiceStack.Feature | feature |
System.String | operationName |
AssertOperationExists(String, Type)
View Source
Declaration
protected static void AssertOperationExists(string operationName, Type type)
Parameters
Type | Name |
---|---|
System.String | operationName |
System.Type | type |
CreateContentTypeRequestAsync(IRequest, Type, String)
View Source
Declaration
protected static async Task<object> CreateContentTypeRequestAsync(IRequest httpReq, Type requestType, string contentType)
Returns
System.Threading.Tasks.Task<System.Object>
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | httpReq |
System.Type | requestType |
System.String | contentType |
DeserializeHttpRequestAsync(Type, IRequest, String)
View Source
Declaration
public static Task<object> DeserializeHttpRequestAsync(Type operationType, IRequest httpReq, string contentType)
Returns
System.Threading.Tasks.Task<System.Object>
Parameters
Type | Name |
---|---|
System.Type | operationType |
ServiceStack.Web.IRequest | httpReq |
System.String | contentType |
ExecuteService(Object, IRequest)
View Source
Declaration
protected static object ExecuteService(object request, IRequest httpReq)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | request |
ServiceStack.Web.IRequest | httpReq |
GetCustomRequestFromBinder(IRequest, Type)
View Source
Declaration
protected static object GetCustomRequestFromBinder(IRequest httpReq, Type requestType)
Returns
System.Object
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | httpReq |
System.Type | requestType |
GetOperationType(String)
View Source
Declaration
public static Type GetOperationType(string operationName)
Returns
System.Type
Parameters
Type | Name |
---|---|
System.String | operationName |
GetResponseAsync(IRequest, Object)
View Source
Declaration
public virtual Task<object> GetResponseAsync(IRequest httpReq, object request)
Returns
System.Threading.Tasks.Task<System.Object>
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | httpReq |
System.Object | request |
HandleResponse(IRequest, IResponse, Object)
View Source
Declaration
public async Task HandleResponse(IRequest httpReq, IResponse httpRes, object response)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | httpReq |
ServiceStack.Web.IResponse | httpRes |
System.Object | response |
UpdateResponseContentType(IRequest, Object)
View Source
Declaration
public void UpdateResponseContentType(IRequest httpReq, object response)
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | httpReq |
System.Object | response |
WriteDebugResponse(IResponse, Object)
View Source
Declaration
public Task WriteDebugResponse(IResponse httpRes, object response)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
ServiceStack.Web.IResponse | httpRes |
System.Object | response |
Implements
System.Web.IHttpAsyncHandler
System.Web.IHttpHandler
- ServiceStack.Host.Handlers.IServiceStackHandler