PageSourceSearch

https://www.voiceofcancerpatients.com/components/services/chat.service.js

js voiceofcancerpatients.com collected 2026-09-25 06:13:04 UTC 698 bytes, 24 lines download raw bytes

1/**
2 * Created by Team Scry on 03/02/15.
3 */
4'use strict';
5
6angular.module('healthConsulApp').service('chatService', function ($http) {
7  return {
8    getChatUsers: function () {
9      return $http.get('/api/chat/users');
10    },
11    getChatMsgs: function (data) {
12      return $http.get('/api/chat/messages?connection=' + data.id + '&offset=' + data.offset);
13    },
14    getPendingMsgs: function () {
15      return $http.get('/api/chat/getPendingMsgs');
16    },
17    updateMessage: function (message) {
18      return $http.post('/api/chat/updateMessage', message);
19    },
20    updateVideoUsageStat: function (obj) {
21      return $http.post('/api/videoChat/updateUsage?ngProgress=0', obj);
22    }
23  };
24});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.