Skip to content

Commit

Permalink
Add custom domain support (#103) (#108)
Browse files Browse the repository at this point in the history
Squashed commits:

- Fix example code in readme
- Add example for a custom API domain
- Remove unused config variable "apiRegionAsSubdomain"
- Removed proxy documentation
- Rename ApiURL variable to fit code style
- Add support for region as a header parameter, and more specific URL building
- Moved RegionConfig to Camille.RiotGames.Enums, and changed its values casing
- Remove generated license callout
- Correct variable in apiUrl description
- Clarify apiUrl description
- Move RegionHeaderKey to instead be RegionKey, and use it for the query parameter
- Use the new RegionKey variable
- Do not branch off of the URL contents
- Use RegionKey to build the URL without string checking
- Change naming region->route
- Simplify query param editing code (.NET is a mess)
  • Loading branch information
zbee authored and MingweiSamuel committed Apr 4, 2024
1 parent 0b6dcaf commit 8587f60
Show file tree
Hide file tree
Showing 6 changed files with 297 additions and 221 deletions.
Loading

0 comments on commit 8587f60

Please sign in to comment.