File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,19 @@ A GraphQL Client for .NET Standard over HTTP.
66
77## Specification:
88The Library will try to follow the following standards and documents:
9- [ GraphQL Specification] ( https://facebook.github.io/graphql/June2018 )
10- [ GraphQL HomePage] ( http://graphql.org/learn )
9+
10+ * [ GraphQL Specification] ( https://spec.graphql.org/June2018/ )
11+ * [ GraphQL HomePage] ( https://graphql.org/learn )
1112
1213## Usage:
1314
15+ ### Create a GraphQLHttpClient
16+
17+ ``` csharp
18+ // To use NewtonsoftJsonSerializer, add a reference to NuGet package GraphQL.Client.Serializer.Newtonsoft
19+ var graphQLClient = new GraphQLHttpClient (" https://api.example.com/graphql" , new NewtonsoftJsonSerializer ());
20+ ```
21+
1422### Create a GraphQLRequest:
1523#### Simple Request:
1624``` csharp
@@ -124,9 +132,10 @@ subscription.Dispose();
124132```
125133
126134## Useful Links:
127- [ StarWars Example Server (GitHub)] ( https://github.com/graphql/swapi-graphql )
128- [ StarWars Example Server (EndPoint)] ( https://swapi.apis.guru/ )
129135
130- [ GitHub GraphQL API Docs] ( https://developer.github.com/v4/guides/forming-calls/ )
131- [ GitHub GraphQL Explorer] ( https://developer.github.com/v4/explorer/ )
132- [ GitHub GraphQL Endpoint] ( https://api.github.com/graphql )
136+ * [ StarWars Example Server (GitHub)] ( https://github.com/graphql/swapi-graphql )
137+ * [ StarWars Example Server (EndPoint)] ( https://swapi.apis.guru/ )
138+
139+ * [ GitHub GraphQL API Docs] ( https://developer.github.com/v4/guides/forming-calls/ )
140+ * [ GitHub GraphQL Explorer] ( https://developer.github.com/v4/explorer/ )
141+ * [ GitHub GraphQL Endpoint] ( https://api.github.com/graphql )
You can’t perform that action at this time.
0 commit comments