C# Class HttpServer.Headers.ContentTypeHeader

Content-type
Inheritance: IHeader
Afficher le fichier Open project: NyxStudios/HttpServer Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

ContentTypeHeader() public méthode

Initializes a new instance of the ContentTypeHeader class.
public ContentTypeHeader ( string contentType ) : System
contentType string Type of the content.
Résultat System

ContentTypeHeader() public méthode

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.
Résultat System

ToString() public méthode

Returns data formatted as a HTTP header value.
public ToString ( ) : string
Résultat string