Example #1
0
 public virtual uint SendResult(string res)
 {
     Clear();
     if (res == null)
     {
         res = "";
     }
     byte[] bytes = System.Text.UTF8Encoding.UTF8.GetBytes(res);
     unsafe
     {
         fixed(byte *p = bytes)
         {
             return(ServerCoreLoader.SendHTTPReturnDataA(Handle, p, bytes.Length));
         }
     }
 }