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

Add HipChat notification helper #523

Merged
merged 1 commit into from
Aug 25, 2014
Merged

Add HipChat notification helper #523

merged 1 commit into from
Aug 25, 2014

Conversation

gshackles
Copy link
Contributor

This adds a new helper for sending notifications to HipChat rooms

"notify", Convert.ToInt32(param.Notify).ToString()
"color", param.Color
"format", "json"]
|> List.map(fun (key, value) -> key + "=" + HttpUtility.UrlEncode(value))
Copy link

Choose a reason for hiding this comment

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

If this is the only reason to reference System.Web, could you use Uri.EscapeDataString() instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fair point, that should work too. Are there plans to update FAKE to .NET 4.5? If so, WebUtility.UrlEncode() would work as well.

forki added a commit that referenced this pull request Aug 25, 2014
Add HipChat notification helper
@forki forki merged commit c8efe4e into fsprojects:master Aug 25, 2014
forki added a commit that referenced this pull request Aug 25, 2014
@gshackles gshackles deleted the hipchat branch August 25, 2014 11:39
@forki
Copy link
Member

forki commented Aug 25, 2014

We try to keep the .NET dependency as low as possible.

Thanks for your contribution - it's released with 3.3

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.

3 participants