MCPcopy Create free account
hub / github.com/acl-dev/acl / get_pipe

Method get_pipe

lib_acl_cpp/src/http/http_request.cpp:767–788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

765}
766
767http_pipe* http_request::get_pipe(const char* to_charset)
768{
769 if (to_charset != NULL) {
770 // ���������ַ���ת����
771 set_local_charset(to_charset);
772
773 // ��ȡ�ַ���ת����
774 set_charset_conv();
775 }
776
777 if (conv_ == NULL) {
778 return NULL;
779 }
780
781 http_pipe* hp = NEW http_pipe();
782
783 // ���ַ���ת�������� http_pipe ����
784 hp->set_charset(conv_);
785 conv_ = NULL;
786
787 return hp;
788}
789
790bool http_request::get_body(xml& out, const char* to_charset /* = NULL */)
791{

Callers

nothing calls this directly

Calls 2

http_pipeClass · 0.50
set_charsetMethod · 0.45

Tested by

no test coverage detected