Skip to content

Add back the ability to register callbacks and renamed to OnRequestCo… #1721

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 2 commits into from
Jan 14, 2016

Conversation

gmarz
Copy link
Contributor

@gmarz gmarz commented Jan 13, 2016

…mpleted

Closes #1712

@@ -100,6 +100,10 @@ public ElasticsearchResponse<TReturn> Request<TReturn>(HttpMethod method, string
}
if (response == null || !response.Success)
pipeline.BadResponse(ref response, requestData, seenExceptions);

if (this.Settings.OnRequestCompleted != null)
Copy link
Member

Choose a reason for hiding this comment

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

nitpick: this.Settings.OnRequestCompleted?.Invoke()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. Good call 👍

Mpdreamz added a commit that referenced this pull request Jan 14, 2016
Add back the ability to register callbacks and renamed to OnRequestCo…
@Mpdreamz Mpdreamz merged commit edf60a4 into master Jan 14, 2016
@gmarz gmarz deleted the fix/1712 branch January 21, 2016 16:27
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.

2 participants