C# Class libirek.Header

Afficher le fichier Open project: theanti9/irek Class Usage Examples

Méthodes publiques

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

Method Details

GetHeader() public méthode

Gets the header.
public GetHeader ( ) : string
Résultat string

Header() public méthode

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

SetContentLenght() public méthode

Sets the content length of the headers
public SetContentLenght ( int length ) : void
length int The new content length
Résultat void

SetContentType() public méthode

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
Résultat void

SetCookie() public méthode

Set ext
public SetCookie ( string cookie ) : void
cookie string
Résultat void