Skip to content

Documentation and examples for advanced usage #66

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

Merged
merged 3 commits into from
Aug 9, 2017

Conversation

WyriHaximus
Copy link
Member

Currently once can use the Executor directly to query but this isn't documented. This PR adds documentation and an example.

README.md Outdated
@@ -92,6 +93,31 @@ $dns = $factory->createCached('8.8.8.8', $loop, $cache);

See also the wiki for possible [cache implementations](https://github.com/reactphp/react/wiki/Users#cache-implementations).

## Advanced Usage

For more advanced usages one can utilize the `Executor` directly.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm planning to deprecate the Executor in future versions, so perhaps we should link to the whole namespace instead (may keep the below example in place though)?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deprecating executor seems to be a good idea.

README.md Outdated
@@ -13,6 +13,7 @@ easily be used to create a DNS server.
* [Basic usage](#basic-usage)
* [Caching](#caching)
* [Custom cache adapter](#custom-cache-adapter)
* [Advanced usage](#advance-usage)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor typo here, otherwise LGTM 👍

@clue clue changed the title Advanced Usage Documentation and examples for advanced usage Aug 9, 2017
@clue
Copy link
Member

clue commented Aug 9, 2017

Changes LGTM, unrelated build error has been addressed via #68 in the meantime :shipit:

@clue clue added this to the v0.4.10 milestone Aug 9, 2017
@jsor jsor merged commit af11e3c into reactphp:master Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy