Skip to content
This repository was archived by the owner on Jul 27, 2021. It is now read-only.
This repository was archived by the owner on Jul 27, 2021. It is now read-only.

https compatibility #18

@SiliconDroid

Description

@SiliconDroid

Hello,

Nice work by all contribs!

To get the lib working with carriota field HTTPS I had to modify:

private GenericIotaCoreApi.CreateBaseUrl() to:

        private string CreateBaseUrl()
        {
            if(_host.Contains("http://") || _host.Contains("https://"))
            {
              return _host + ":" + _port;
            }

            return "http://" + _host + ":" + _port;
        }

This allows http type to be optionally specified in the URL string of the main IotaApi constructor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions