Closed Douile closed 12 months ago
Think actions broken rn: https://www.githubstatus.com/incidents/tqrmcdmghldw
Thanks a lot, I was just thinking yesterday about working on this, seems you got ahead haha. Will merge once Actions come back and validate everything.
Thanks a lot, I was just thinking yesterday about working on this, seems you got ahead haha. Will merge once Actions come back and validate everything.
Had to get in before the next release :)
Adds a new struct
ExtraRequestSettings
that contains all possible extra settings for all protocols, and can be implicitly converted with.into()
into each protocol's extra settings type.This is then used in a new query method
query_with_timeout_and_extra_settings()
that passes the object on to the selected protocol.This also updates the generic example to set some of these generic settings so that it can be used for certain queries like "mc.hypixel.net".
Closes #86