Junior.Route.Routing.Responses.Response.ContentType C# (CSharp) Method

ContentType() public method

public ContentType ( string contentType ) : Response
contentType string
return Response
        public Response ContentType(string contentType)
        {
            _contentType = contentType;

            return this;
        }

Usage Example

Exemplo n.º 1
0
			public void SetUp()
			{
				_response = new Response(HttpStatusCode.OK);
				_response.ContentType("text/html");
			}
Response