C# 클래스 libirek.Header

파일 보기 프로젝트 열기: theanti9/irek 1 사용 예제들

공개 메소드들

메소드 설명
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