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

export http_types::{Body, StatusCode} #455

Merged
merged 2 commits into from
Apr 23, 2020
Merged

Conversation

yoshuawuyts
Copy link
Member

Each response requires a StatusCode. Because this is so common throughout Tide we should export this from the top-level. This allows us to simplify the imports in many examples as well. Thanks!

@yoshuawuyts yoshuawuyts changed the title export http_types::StatusCode export http_types::{Body, StatusCode} Apr 22, 2020
Each response requires a StatusCode. Because this is so common throughout Tide we should export this from the top-level.
@yoshuawuyts yoshuawuyts merged commit 4c1f629 into master Apr 23, 2020
@yoshuawuyts yoshuawuyts deleted the export-some-http-types branch April 23, 2020 17:01
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.

None yet

1 participant