struct soap
信息源 Genivia - soap Struct Reference
这是管理gsoap引擎状态上下文的一个类,在所有gSOAP函数中,总是作为第一个参数传入,只能在单线程中使用。每个线程应该使用独立的一个对象。
堆上创建struct soap
这种方式更常见
struct soap *soap1 = soap_new();
struct soap *soap2 = soap_new1(input_and_output_mode);
struct soap *soap3 = soap_new2(input_mode, output_mode);
复制一个对象
struct soap *soap2 = soap_copy(soap1);
销毁对象。在堆上创建的soap对象都必须通过soap_free来销毁,这是销毁对象本身。
soap_free(soap1);


1416

被折叠的 条评论
为什么被折叠?



