Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Create Client
var client = new Client(
new NewtonsoftSerializationAdapter(),
baseUrl: testServerBaseUri,
defaultRequestHeaders:
HeadersExtensions
.FromJsonContentType()
//Non-destructive mutation to create a new headers collection
.WithBearerTokenAuthentication(bearerToken));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment