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

Make Application#scheme a public method #75

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Conversation

Sija
Copy link
Contributor

@Sija Sija commented Dec 4, 2024

Description of the Change

Turns Application#scheme into a public method. This allows other tools to use it directly, instead of duplicating the logic by using ssl ? "https" : "http" condition. This would come handy for instance in a raven.cr shard, in which there's a need to reconstruct full request url for the logging purposes.

@grkek grkek merged commit 75a025c into grip-framework:core Dec 4, 2024
1 check passed
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