Skip to content

VsIG-official/Smol-README-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project Title

Table of Contents

Description

Subtitle or Short Description Goes Here

Badges

Theme Language


Example

/// <summary>
	/// Class for Api Client
	/// </summary>
	public static class ApiHelper
	{
		// Create static, 'cause We need one client per application
		public static HttpClient ApiClient { get; set; }

		/// <summary>
		/// Initializes API client
		/// </summary>
		public static void Initialize()
		{
			ApiClient = new HttpClient
			{
				// a lot of adresses will begin with the same string,
				// so We can put the beginning here
				// but won't, because We need more than one adress
				/*
				BaseAddress = new Uri("http://somesite.com/")
				*/
			};
			ApiClient.DefaultRequestHeaders.Accept.Clear();
			// give Us json, not webpage or etc.
			ApiClient.DefaultRequestHeaders.Accept.Add(new
				MediaTypeWithQualityHeaderValue("application/json"));
		}
	}

Contributing

To get started...

Step 1

  • 🍴 Fork this repo!

Step 2

  • HACK AWAY! 🔨🔨🔨

License

License

About

More useful (for Me) README

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published