C# Класс HttpServer.Headers.ContentTypeHeader

Content-type
Наследование: IHeader
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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