BeardedManStudios.Network.HTTP.Send C# (CSharp) Method

Send() private method

private Send ( Action callback, byte argument = null ) : void
callback Action
argument byte
return void
		private void Send(Action<object> callback, byte[] argument = null)
		{
			Task.Run(() =>
			{
#if NETFX_CORE
				GetWebResponse(argument, callback);
#else
				callback(GetWebResponse(argument));
#endif
			});
		}