Code Monkey home page Code Monkey logo

httpsutility's Introduction

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

httpsutility's People

Contributors

bitm0de avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.