C# Класс libirek.Header

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetHeader ( ) : string

Gets the header.

Header ( string Version, string Type, int Length, string Status ) : System

Initializes a new instance of the Header class.

SetContentLenght ( int length ) : void

Sets the content length of the headers

SetContentType ( string newcontenttype ) : void

Changes the content type from the default of text/html to newcontentype

SetCookie ( string cookie ) : void

Set ext

Описание методов

GetHeader() публичный Метод

Gets the header.
public GetHeader ( ) : string
Результат string

Header() публичный Метод

Initializes a new instance of the Header class.
public Header ( string Version, string Type, int Length, string Status ) : System
Version string
Type string
Length int
Status string The status.
Результат System

SetContentLenght() публичный Метод

Sets the content length of the headers
public SetContentLenght ( int length ) : void
length int The new content length
Результат void

SetContentType() публичный Метод

Changes the content type from the default of text/html to newcontentype
public SetContentType ( string newcontenttype ) : void
newcontenttype string What to set the content type to
Результат void

SetCookie() публичный Метод

Set ext
public SetCookie ( string cookie ) : void
cookie string
Результат void