C# 클래스 HttpServer.Headers.ContentTypeHeader

Content-type
상속: IHeader
파일 보기 프로젝트 열기: NyxStudios/HttpServer 1 사용 예제들

공개 메소드들

메소드 설명
ContentTypeHeader ( string contentType ) : System

Initializes a new instance of the ContentTypeHeader class.

ContentTypeHeader ( string contentType, HttpServer.Headers.HeaderParameterCollection parameterCollection ) : System

Initializes a new instance of the ContentTypeHeader class.

ToString ( ) : string

Returns data formatted as a HTTP header value.

메소드 상세

ContentTypeHeader() 공개 메소드

Initializes a new instance of the ContentTypeHeader class.
public ContentTypeHeader ( string contentType ) : System
contentType string Type of the content.
리턴 System

ContentTypeHeader() 공개 메소드

Initializes a new instance of the ContentTypeHeader class.
public ContentTypeHeader ( string contentType, HttpServer.Headers.HeaderParameterCollection parameterCollection ) : System
contentType string Type of the content.
parameterCollection HttpServer.Headers.HeaderParameterCollection Value parameters.
리턴 System

ToString() 공개 메소드

Returns data formatted as a HTTP header value.
public ToString ( ) : string
리턴 string