<返主目录 ▕▏ C#基础库 WjwLibs: V5.0.5▕▏帮助文档 : 与Router.php通信类 ▕▏ 编译日期: 2024-09-17▕▏ Email: wujwmail@163.com

〖与Router.php通信类〗 /wjw_cs.net/WjwLibs_core/WjwLibs/WjwRouterPhp.cs


##类-1.名称: WjwRouterPhp ▕→ 与RouterPhp通讯类 命名空间: WjwLibs 所属类: WjwLibs.WjwRouterPhp 说明: 与RouterPhp通讯类 定义: public class WjwRouterPhp


###方法名称: MkHttpClien ▕→ 获得HttpClient实列

 命名空间: WjwLibs
 所属类: WjwLibs.WjwRouterPhp
 说明: 
     获得HttpClient实列
 返回: 
 定义: 
     public static HttpClient MkHttpClien(bool isMk = true)

###属性名称: PhpProUrl ▕→ 路由url静态属性

 命名空间: WjwLibs
 所属类: WjwLibs.WjwRouterPhp
 说明: 
     路由url静态属性
 定义: 
     public static string PhpProUrl

###方法名称: SetPhpProUrl ▕→ 置路由url

 命名空间: WjwLibs
 所属类: WjwLibs.WjwRouterPhp
 说明: 
     置路由url
 参数: 
     routeSubUrlPath : 可以是全地址路径或config.xml的子路径结点名,缺省为: 主服务器-routePro
         例如: 主服务器-routePro,数据服务器-routeData,全路径-http://220.179.251.187/dataServer/PHP/Router.php
 返回: 
 定义: 
     public static string SetPhpProUrl(string routeSubUrlPath=null)

###方法名称: JsonRouterPhp ▕→ 与RouterPhp同步通讯类

 命名空间: WjwLibs
 所属类: WjwLibs.WjwRouterPhp
 说明: 
     与RouterPhp同步通讯类
 参数: 
     classFunc : 类.方法
     argArr : 参数数组
     token : 令牌
     phpProUrl : 路由器地址
     refrm : 返回类型
 返回: 
 定义: 
     public static string JsonRouterPhp(string classFunc, string[] argArr = null, string token = null, string phpProUrl = null, string refrm = "xml")

###方法名称: JsonRouterPhpAsync ▕→ 与RouterPhp异步通讯类

 命名空间: WjwLibs
 所属类: WjwLibs.WjwRouterPhp
 说明: 
     与RouterPhp异步通讯类
 参数: 
     classFunc : 类.方法
     argArr : 参数数组
     token : 令牌
     phpProUrl : 路由器地址
     refrm : 返回类型
 返回: 
     xmlstr
 定义: 
     public static async Task<string> JsonRouterPhpAsync(string classFunc, string[] argArr = null, string token = null, string phpProUrl = null, string refrm = "xml")

###方法名称: JsonStremRouterPhpAsync ▕→ 与RouterPhp异步流通讯类

 命名空间: WjwLibs
 所属类: WjwLibs.WjwRouterPhp
 说明: 
     与RouterPhp异步流通讯类
 参数: 
     classFunc : 类.方法
     argArr : 参数数组
     token : 令牌
     phpProUrl : 路由器地址
     refrm : 返回类型
 返回: 
     Strem
 定义: 
     public static async Task<Stream> JsonStremRouterPhpAsync(string classFunc, string[] argArr = null, string token = null, string phpProUrl = null, string refrm = "xml")

###方法名称: NetPorLimit ▕→ 获得或设置网络请求的并发数

 命名空间: WjwLibs
 所属类: WjwLibs.WjwRouterPhp
 说明: 
     获得或设置网络请求的并发数
 参数: 
     count : 并发数
 返回: 
     并发数
 定义: 
     public static int NetPorLimit(int count=0)

##类-2.名称: JsonContent ▕→ json报文内容包类 命名空间: WjwLibs 所属类: WjwLibs.JsonContent : StringContent 说明: json报文内容包类 定义: public class JsonContent : StringContent


###属性名称: : ▕→ 构造json报文内容包

 命名空间: WjwLibs
 所属类: WjwLibs.JsonContent : StringContent
 说明: 
     构造json报文内容包
 参数: 
     json : json文本
 定义: 
     public JsonContent(string json) :