Classes |
| class | THttp |
Enumerations |
| enum | THttpRqMethod { hrmUndef,
hrmGet,
hrmHead,
hrmPost
} |
Functions |
| void | ParseSearch (const TStr &SearchStr) |
| void | ParseHttpRq (const PSIn &SIn) |
| | THttpRq (const PSIn &SIn) |
| static PHttpRq | New (const PSIn &SIn) |
| | THttpRq (const THttpRqMethod &_Method, const PUrl &_Url, const TStr &ContTypeFldVal, const TMem &_BodyMem, const int &FetchId=-1) |
| static PHttpRq | New (const THttpRqMethod &Method, const PUrl &Url, const TStr &ContTypeFldVal, const TMem &BodyMem) |
| static PHttpRq | New (const PUrl &Url, const int &FetchId=-1) |
| | ~THttpRq () |
| | THttpRq (TSIn &) |
| static PHttpRq | Load (TSIn &) |
| void | Save (TSOut &) |
| THttpRq & | operator= (const THttpRq &) |
| bool | IsOk () const |
| bool | IsComplete () const |
| THttpRqMethod | GetMethod () const |
| const TStr & | GetMethodNm () const |
| PUrl | GetUrl () const |
| PUrlEnv | GetUrlEnv () const |
| bool | IsFldNm (const TStr &FldNm) const |
| TStr | GetFldVal (const TStr &FldNm) const |
| bool | IsFldVal (const TStr &FldNm, const TStr &FldVal) const |
| void | AddFldVal (const TStr &FldNm, const TStr &FldVal) |
| const TStrStrH & | GetFldValH () const |
| TStr | GetHdStr () const |
| int | GetBodyLen () const |
| TStr | GetBodyAsStr () const |
| PSIn | GetBodyAsSIn () const |
| void | GetBodyAsMem (TMem &Mem) const |
| void | GetAsMem (TMem &Mem) const |
| bool | IsContType (const TStr &ContTypeStr) const |
| bool | IsContLen (int &ContLen) const |
| TStr | GetStr () const |
| void | AddHdFld (const TStr &FldNm, const TStr &FldVal, TChA &HdChA) |
| void | ParseHttpResp (const PSIn &SIn) |
| | THttpResp (const int &_StatusCd, const TStr &ContTypeVal, const bool &CacheCtrlP, const PSIn &BodySIn, const TStr LocStr) |
| static PHttpResp | New (const int &StatusCd, const TStr &ContTypeVal, const bool &CacheCtrlP, const PSIn &BodySIn, const TStr LocStr=TStr()) |
| | THttpResp (const PSIn &SIn) |
| | ~THttpResp () |
| | THttpResp (TSIn &) |
| THttpResp & | operator= (const THttpResp &) |
| int | Len () const |
| bool | IsContLenOk () const |
| const TMem & | GetBodyAsMem () const |
| int | GetStatusCd () const |
| TStr | GetReasonPhrase () const |
| int | GetFlds () const |
| int | GetFldVals (const int &FldN) const |
| void | GetFldNmVal (const int &FldN, TStr &FldNm, TStr &FldVal) |
| void | GetFldNmVal (const int &FldN, const int &ValN, TStr &FldNm, TStr &FldVal) |
| TStr | GetFldVal (const TStr &FldNm, const int &ValN=0) const |
| void | GetFldValV (const TStr &FldNm, TStrV &FldValV) const |
| bool | IsStatusCd_Ok () const |
| bool | IsStatusCd_Redir () const |
| bool | IsContType () const |
| TStr | GetSrvNm () const |
| void | GetCookieKeyValDmPathQuV (TStrQuV &CookieKeyValDmPathQuV) |
| int | GetTxtLen () const |
| static PHttpResp | LoadTxt (PSIn &SIn) |
| void | SaveTxt (const PSOut &SOut) const |
| void | SaveBody (const PSOut &SOut) const |
| PSIn | GetSIn () const |
Variables |
ClassTP(THttpRq, PHttpRq)
private bool | CompleteP |
| int | MajorVerN |
| int | MinorVerN |
| THttpRqMethod | Method |
| PUrl | Url |
| TStrStrH | FldNmToValH |
| PUrlEnv | UrlEnv |
| TStr | HdStr |
| TMem | BodyMem |
| int | StatusCd |
| TStr | ReasonPhrase |
| TStrStrVH | FldNmToValVH |