Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/arthurkhlghatyan/gql-client-rs
/ functions
Functions
22 in github.com/arthurkhlghatyan/gql-client-rs
⨍
Functions
22
◇
Types & classes
16
↓ 2 callers
Function
format
(err: &GraphQLError, f: &mut Formatter<'_>)
src/error.rs:66
↓ 2 callers
Method
json
(&self)
src/error.rs:61
↓ 1 callers
Method
client
(&self)
src/client.rs:31
↓ 1 callers
Method
query_with_vars
( &self, query: &str, variables: T, )
src/client.rs:117
↓ 1 callers
Method
query_with_vars_by_endpoint
( &self, endpoint: impl AsRef<str>, query: &str, variables: T, )
src/client.rs:130
Function
fetches_all_posts
()
tests/queries.rs:32
Function
fetches_one_post
()
tests/queries.rs:11
Method
fmt
(&self, f: &mut Formatter<'_>)
src/error.rs:85
Method
from
(error: Error)
src/error.rs:98
Method
message
(&self)
src/error.rs:57
Method
new
(endpoint: impl AsRef<str>)
src/client.rs:50
Method
new_with_config
(config: ClientConfig)
src/client.rs:80
Method
new_with_headers
( endpoint: impl AsRef<str>, headers: HashMap<impl ToString, impl ToString>, )
src/client.rs:61
Function
properly_parses_json_errors
()
tests/errors.rs:10
Method
query
(&self, query: &str)
src/client.rs:86
Method
query_unwrap
(&self, query: &str)
src/client.rs:93
Method
query_with_vars_unwrap
( &self, query: &str, variables: T, )
src/client.rs:100
Function
test_url
()
tests/reqwest.rs:5
Method
try_from
(gql_proxy: GQLProxy)
src/types.rs:53
Method
with_json
(json: Vec<GraphQLErrorMessage>)
src/error.rs:53
Method
with_message_and_json
(message: impl AsRef<str>, json: Vec<GraphQLErrorMessage>)
src/error.rs:46
Method
with_text
(message: impl AsRef<str>)
src/error.rs:39