C# 클래스 HttpServer.HttpHelper

Generic helper functions for Http
파일 보기 프로젝트 열기: 3di/3di-viewer-rei-libs

공개 프로퍼티들

프로퍼티 타입 설명
EmptyUri System.Uri

공개 메소드들

메소드 설명
ParseHeaderAttribute ( string header, string attribute ) : string

Parses an attribute from a header string. For example, the charset attribute can be parsed from the header Content-Type: text/html; charset=utf-8

ParseQueryString ( string queryString ) : HttpInput

Parses a querystring.

비공개 메소드들

메소드 설명
Add ( IHttpInput input, string name, string value ) : void
IsAmp ( string queryStr, int &index, int &outIndex ) : bool
IsEqual ( string queryStr, int &index, int &outIndex ) : bool

메소드 상세

ParseHeaderAttribute() 공개 정적인 메소드

Parses an attribute from a header string. For example, the charset attribute can be parsed from the header Content-Type: text/html; charset=utf-8
public static ParseHeaderAttribute ( string header, string attribute ) : string
header string The raw header string containing the desired attribute
attribute string The name of the attribute to parse
리턴 string

ParseQueryString() 공개 정적인 메소드

Parses a querystring.
public static ParseQueryString ( string queryString ) : HttpInput
queryString string Querystring (url decoded)
리턴 HttpInput

프로퍼티 상세

EmptyUri 공개적으로 정적으로 프로퍼티

An empty url
public static Uri,System EmptyUri
리턴 System.Uri