Notification for client connection establishment in server - server

I am using nghttp2 C++ library (version 1.30) to implement a web server using nghttp2::asio_http2::server. In the deployment many HTTP client connects to the sever and invokes several REST API over time before diconnect. The nghttp2 C++ library provides on_connect which helps to know when the connection is established in the client application.
Is there any simialr way to execute any call back or get notification in the server when the client connects? It is required to get the notification before the REST API is invoked. For example if a client connects and invokes two REST API, the server should be notified once. If I provided handler to server.handle, thats get invoked for each REST API call.
Notification/callback in server code

Related

Connection between GeneXus and NetSuite to consume REST APIs

I am trying to make a connection between GeneXus and a REST API that brings NetSuite JSON, I have the connection code in C# but I cannot make the connections.

App that provides a REST API and a TCP/IP socket interface

Is it possible to create an app that provides a REST API and a TCP/IP socket connection interface. I'm new to web related programming but I do have a REST API demo program working and I have created socket servers in the past. I need to create an app that can receive messages via a REST API and forward the message to a machine that is connected via the socket connection. I am working in C# with Visual Studio 2022.
Thank you.

Can my Web Server Issue a Client Rest Request to another REST Server

I have a web server that handles configuration set-up for various IO devices. I need to get some data from a REST server that is running on a different server. Can that web server code issue a client REST GET command to a REST server running on a different server? I tried it but I get a http 500 error. The server code is failing on the REST server request code.
I am closing out this question. Yes, your server can issue http requests to other services. I was having another problem with a self-signed certificate and the error made it look like their was a problem with my http request service.

Azure Appfabric + WCF REST + Comet concurrent service connection

I have a problem with my azure appfabric local development server. I'm using WCF REST and Comet architecture on my server. I have a service method calling "GetUpdates". When a client sends a GET request to this method, it waits until a server-side update notification releases it.
There are no problem with this azure server on the cloud, but my local development server does not respond to all requests after sending two concurrent open requests to "GetUpdates" method. (html pages, js files, images, webservice requests.. etc.)
How can I solve this issue on local development server. Any idea what is causing it?

Create a UCMA 3.0 endpoint to a SIP PSTN gateway WITHOUT using Lync

I want to use UCMA 3.0 (standalone, without Lync) to create an IVR application as modeled in the SDK docs:
http://msdn.microsoft.com/en-us/library/gg448007.aspx
I'd like a code snippet that demonstrates how to create the endpoint to a SIP PSTN Gateway so people can dial in from a regular phone and the app will pick up. I have the user name, password, and domain from the SIP provider. I could not find in any of the samples an actual code example of the model described in the link above.
Actually, the Visual Studio template included with UCMA already handles this (albeit in an ultra confusing way). If you create a new project and hit F5 it will start a standalone application listening on port 5060.
What it doesn't handle is SIP registration. For that you'll need to put a proxy server between your app and your provider. Check out http://www.brekeke.com/sip/, they offer a low-cost SIP server that can register against your SIP provider.