This commit is contained in:
JORGE LUIS CAUDILLO ESPARZA
2021-10-06 08:16:34 -07:00
parent 3dca188a41
commit 31e0aa6468
8 changed files with 82 additions and 20 deletions

View File

@@ -76,7 +76,15 @@ Public Class SIGGPS : Implements IHttpHandler, IRequiresSessionState
Using ObjGPS As New ClsSisNotificaciones
Retorno = $"[""IsOk""=""{ObjGPS.ObtenerNotificaciones()}""]"
End Using
context.Response.ContentType = "text/json"
context.Response.StatusCode = 200
context.Response.Write(Retorno)
context.Response.Flush()
context.Response.Close()
context.Response.End()
End Sub
Public Sub SendNotificacionGPS(context As Microsoft.AspNet.SignalR.IHubContext, CveNotificacionBitacora As Integer, CveUsuario As Integer, Encabezado As String, Mensaje As String, TipoNotificacion As Integer, Pie As String, Sonido As String, Persistencia As Boolean, Coords As String)