|
|
|
@ -20,10 +20,10 @@
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
using System.Net;
|
|
|
|
using System.Net;
|
|
|
|
using System.IO;
|
|
|
|
using System.IO;
|
|
|
|
using System.Json;
|
|
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
using System;
|
|
|
|
using System;
|
|
|
|
|
|
|
|
using System.Json;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Yavsc.Helpers
|
|
|
|
namespace Yavsc.Helpers
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -80,7 +80,6 @@ namespace Yavsc.Helpers
|
|
|
|
|
|
|
|
|
|
|
|
public async Task<JsonValue> InvokeJson(object query)
|
|
|
|
public async Task<JsonValue> InvokeJson(object query)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
JsonValue jsonDoc=null;
|
|
|
|
JsonValue jsonDoc=null;
|
|
|
|
using (Stream streamQuery = request.GetRequestStream()) {
|
|
|
|
using (Stream streamQuery = request.GetRequestStream()) {
|
|
|
|
using (StreamWriter writer = new StreamWriter(streamQuery)) {
|
|
|
|
using (StreamWriter writer = new StreamWriter(streamQuery)) {
|
|
|
|
|