Skip to content

Conversation

@splitbrain
Copy link

This introduces an Interface that defines what a suitable HTTPClient needs to provide and makes it possible to pass an alternative implementation in the Lescript constructor.

PS: I can provide another PullRequest introducing doc blocks to all other methods if you're interested. DocBlocks make working with a library much easier IMHO. just let me know.

This introduces an Interface that defines what a suitable HTTPClient
needs to provide and makes it possible to pass an alternative
implementation in the Lescript constructor.
@maxnet
Copy link

maxnet commented Aug 13, 2016

Was wondering why there needs to be a dependency on curl or some other HTTP client in the first place.
Not possible to just use the standard PHP https stream wrapper?

@tm1000
Copy link
Contributor

tm1000 commented Aug 15, 2016

At this point the project should probably have separate files for each interface/class/etc. Makes organization much easier.

@splitbrain
Copy link
Author

I am happy to split it up into multiple files if that's what is wanted.

@analogic analogic closed this in 19c0ee2 Aug 18, 2016
@analogic
Copy link
Owner

@maxnet you are right!

@splitbrain
Copy link
Author

Uhm thanks for incorporating my changes. Though a true merge (and thus giving proper credit in the commit history) would have been the decent thing to do.

@splitbrain splitbrain deleted the clientinterface branch August 19, 2016 08:12
splitbrain added a commit to splitbrain-forks/lescript that referenced this pull request Aug 21, 2016
* master:
  Example for #12 - adding LE registration contact
  Fix analogic#18 - make HTTP client exchangable Fix analogic#19 - Allow Defining challenge type Add #12 - adding LE registration contact
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.

4 participants