C# Class FubuMVC.Core.Http.AspNet.AspNetHttpResponse

Inheritance: IHttpResponse
ファイルを表示 Open project: DarthFubuMVC/fubumvc

Public Methods

Method Description
AllHeaders ( ) : IEnumerable
AppendHeader ( string key, string value ) : void
AspNetHttpResponse ( System.Web.HttpResponseBase response ) : System
Flush ( ) : void
HeaderValueFor ( System.Web.HttpResponseHeader key ) : IEnumerable
HeaderValueFor ( string headerKey ) : IEnumerable
Redirect ( string url ) : void
UseEncoding ( IHttpContentEncoding encoding ) : void
Write ( Task>.Func output ) : Task
Write ( string content ) : Task
WriteContentType ( string contentType ) : void
WriteFile ( string file ) : void
WriteResponseCode ( HttpStatusCode status, string description = null ) : void

Method Details

AllHeaders() public method

public AllHeaders ( ) : IEnumerable
return IEnumerable

AppendHeader() public method

public AppendHeader ( string key, string value ) : void
key string
value string
return void

AspNetHttpResponse() public method

public AspNetHttpResponse ( System.Web.HttpResponseBase response ) : System
response System.Web.HttpResponseBase
return System

Flush() public method

public Flush ( ) : void
return void

HeaderValueFor() public method

public HeaderValueFor ( System.Web.HttpResponseHeader key ) : IEnumerable
key System.Web.HttpResponseHeader
return IEnumerable

HeaderValueFor() public method

public HeaderValueFor ( string headerKey ) : IEnumerable
headerKey string
return IEnumerable

Redirect() public method

public Redirect ( string url ) : void
url string
return void

UseEncoding() public method

public UseEncoding ( IHttpContentEncoding encoding ) : void
encoding IHttpContentEncoding
return void

Write() public method

public Write ( Task>.Func output ) : Task
output Task>.Func
return Task

Write() public method

public Write ( string content ) : Task
content string
return Task

WriteContentType() public method

public WriteContentType ( string contentType ) : void
contentType string
return void

WriteFile() public method

public WriteFile ( string file ) : void
file string
return void

WriteResponseCode() public method

public WriteResponseCode ( HttpStatusCode status, string description = null ) : void
status HttpStatusCode
description string
return void