Skip to main content

OperationControl

Assembly: ServiceStack.dll
View Source
Declaration
public class OperationControl

Properties

MetadataConfig

View Source
Declaration
public ServiceEndpointsMetadataConfig MetadataConfig { get; set; }

Format

View Source
Declaration
public Format Format { set; }

HttpRequest

View Source
Declaration
public IRequest HttpRequest { get; set; }

ContentType

View Source
Declaration
public string ContentType { get; set; }

ContentFormat

View Source
Declaration
public string ContentFormat { get; set; }

Title

View Source
Declaration
public string Title { get; set; }

OperationName

View Source
Declaration
public string OperationName { get; set; }

HostName

View Source
Declaration
public string HostName { get; set; }

RequestMessage

View Source
Declaration
public string RequestMessage { get; set; }

ResponseMessage

View Source
Declaration
public string ResponseMessage { get; set; }

MetadataHtml

View Source
Declaration
public string MetadataHtml { get; set; }

Operation

View Source
Declaration
public Operation Operation { get; set; }

RequestUri

View Source
Declaration
public virtual string RequestUri { get; }

ResponseTemplate

View Source
Declaration
public virtual string ResponseTemplate { get; }

HttpResponseTemplate

View Source
Declaration
public virtual string HttpResponseTemplate { get; }

Methods

RenderAsync(Stream)

View Source
Declaration
public virtual Task RenderAsync(Stream output)
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.IO.Streamoutput

GetHttpRequestTemplate()

View Source
Declaration
public virtual string GetHttpRequestTemplate()
Returns

System.String

HttpRequestTemplateWithBody(String)

View Source
Declaration
public virtual string HttpRequestTemplateWithBody(string httpMethod)
Returns

System.String

Parameters
TypeName
System.StringhttpMethod

HttpRequestTemplateWithoutBody(String)

View Source
Declaration
public virtual string HttpRequestTemplateWithoutBody(string httpMethod)
Returns

System.String

Parameters
TypeName
System.StringhttpMethod