Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basic implementation to enable remote iri over https #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

heavyengineer
Copy link

These changes enable the user to supply an https url for the remote iri.
This works by adding two options to the configuration - provider and protocol. This enables the user to supply a single configuration string e.g. "https://field.carriota.com:443" or the current way with host, port and now protocol. The existing configuration options will still work.
If host is populated, then port and protocol are optional and default to port 80 and http:
When the request to the remote iri service begins it uses the appropriate http or https method.
I haven't supplied any tests yet but will if i continue to build on the s/w.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant