-
Notifications
You must be signed in to change notification settings - Fork 15
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
Read events from relays #57
Conversation
…f setPTag method to setLowercasePTags, changed name of setETags method to setLowercaseETags
* Adds the feature reading events from a relay
* feature to read events from multiple relay with a new RelaySet class * optimized the RequestMessage class after the work done by @kriptonix * added a MessageTypeEnum used for different type of messages send to the relay * updated the README.md with example how to read events * updated the roadmap in the README.md
I tested and it works fine. Just noticed one small mistake in README. In line 133 should be "$request = new Request($relay, $requestMessage);" not "$request = new Request($relayUrl, $requestMessage);". Instead of using $relayUrl when creating new Request we should use Relay object. Maybe you could change this directly not to make PR for this small correction. |
* updated some docblocks
Thx! |
Full implementation of reading events from relays.