mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
[Protocol] Quake change get response header to str
This commit is contained in:
parent
3a9bd77efe
commit
596d15df78
4 changed files with 8 additions and 8 deletions
|
|
@ -14,8 +14,8 @@ impl QuakeClient for QuakeThree {
|
|||
"getstatus"
|
||||
}
|
||||
|
||||
fn get_response_header<'a>() -> &'a [u8] {
|
||||
"statusResponse\n".as_bytes()
|
||||
fn get_response_header<'a>() -> &'a str {
|
||||
"statusResponse\n"
|
||||
}
|
||||
|
||||
fn parse_player_string(data: Iter<&str>) -> GDResult<Self::Player> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue