HttpLib使用html
https://github.com/j6mes/httplib/git
https://www.cnblogs.com/haogj/archive/2013/01/02/2842265.htmlgithub
Getter-only 的属性只能在构造函数中被赋值,而 private set 的属性还能够在该类的其余方法中被赋值。async
定义一个public static的方法,参数为(this CLASS_TYPE para)ide
好比 public static return_type method_name(this CLASS_TYPE para){函数
}ui
效果就是为类CLASS_TYPE增长了一个方法method_name, 参数为空,返回值为return_type的对象。this
参考文档:htm
https://docs.microsoft.com/en-us/dotnet/csharp/async对象
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/async/index