• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

bitm0de/HttpsUtility: A basic HTTPS utility S# module.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

bitm0de/HttpsUtility

开源软件地址:

https://github.com/bitm0de/HttpsUtility

开源编程语言:

C# 100.0%

开源软件介绍:

HttpsUtility

A basic HTTPS utility S# module for general use where simple secure web requests are necessary, but complex chains of requests involving cookies, and response parsing is not. This module was intended for simple functionality only, where a custom solution is not needed.

modules release downloads issues license

Compatibility

Controller Supported
MC3 No Longer Supported

Information

Multiple headers are supported, the formatting for sending multiple headers to the public functions requires each header to be separated by a | character.

Example: Accept: application/json|Content-Type: application/json

Generated API (Intended for use by SIMPL+)

namespace HttpsUtility.Symbols
{
  // note: type can be instantiated from SIMPL+
  class SimplHttpsClient
  {
    // class properties
    // RegisterDelegate(obj, SimplHttpsClientResponse, SimplHttpsClientResponseHandler);
    // CALLBACK FUNCTION SimplHttpsClientResponseHandler(INTEGER status, STRING responseUrl, STRING content, INTEGER length);
    DelegateProperty SimplHttpsClientResponseDelegate SimplHttpsClientResponse(INTEGER status, STRING responseUrl, STRING content, INTEGER length);

    // class methods
    INTEGER_FUNCTION SendGet(STRING url, STRING headers);
    INTEGER_FUNCTION SendPost(STRING url, STRING headers, STRING content);
    INTEGER_FUNCTION SendPut(STRING url, STRING headers, STRING content);
    INTEGER_FUNCTION SendDelete(STRING url, STRING headers, STRING content);
    STRING_FUNCTION ToString();
    SIGNED_LONG_INTEGER_FUNCTION GetHashCode();
  }
}

Downloads

  • Note: I have no direct affiliation with "SharptoothCode" anymore due to employment changes. I do still have full control over maintaining this repository however. (Current releases on Github will contain the relevant SIMPL Windows and SIMPL+ module files.)

Latest release is available on the releases section: https://github.com/bitm0de/HttpsUtility/releases




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap