C# Class libirek.Header

Mostrar archivo Open project: theanti9/irek Class Usage Examples

Public Methods

Method 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 method

Gets the header.
public GetHeader ( ) : string
return string

Header() public method

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.
return System

SetContentLenght() public method

Sets the content length of the headers
public SetContentLenght ( int length ) : void
length int The new content length
return void

SetContentType() public method

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
return void

SetCookie() public method

Set ext
public SetCookie ( string cookie ) : void
cookie string
return void