<返主目录 ▕▏ C#基础库 WjwLibs: V5.0.5▕▏帮助文档 : 与Router.php通信类 ▕▏ 编译日期: 2024-09-17▕▏ Email: wujwmail@163.com
命名空间: 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)
命名空间: WjwLibs
所属类: WjwLibs.JsonContent : StringContent
说明:
json报文内容包类
定义:
public class JsonContent : StringContent
:
▕→ 构造json报文内容包命名空间: WjwLibs 所属类: WjwLibs.JsonContent : StringContent 说明: 构造json报文内容包 参数: json : json文本 定义: public JsonContent(string json) :