Project

General

Profile

Feature #3002 » Axiomclient.h

yan hong, 08/22/2023 03:18 PM

 
1
#pragma once
2
#include "mongoose.h"
3
#include <string>
4

    
5
using namespace std;
6

    
7

    
8
class Fclient {
9
public:
10
	struct mg_mgr mgr_long;
11
	struct mg_connection* nc_long;
12
	string call_back;
13

    
14
	static int Sendreq(string& sendUrl, string& sendHeader, string& reqData, string& req_callback, int type);
15

    
16
	void init_mg();
17
	void free_mg();
18

    
19
	int SendreqLong(string& sendUrl, string& sendHeader, string& reqData, int type, bool& flag1, string path, string host);
20
};
(9-9/9)