[Info-vax] API/RTL providing cURL-esque functionality
Richard Maher
maher_rjSPAMLESS at hotmail.com
Fri Jan 1 20:21:44 EST 2016
On 1/1/2016 2:06 PM, David Froble wrote:
> Richard Maher wrote:
>> Hi,
>>
>> Is there an RTL around anywhere that provides cURL like access?
>>
>> I'm looking for something with connection-pool management min/max/ttl
>> as there will be many clients talking to a single destination.
>>
>> Should also support http 1.2.
>>
>> Merry Christmas & a Happy New Year,
>> Richard Maher
>
> Richard,
>
> Instead of mentioning possible solutions, why don't you specify exactly
> what you want to do? Your mention of many clients and a single
> "server?" leads me to assume (shouldn't do that) that you want to write
> one or more services.
>
> Note that a "service" is sort of like a specialized web service. Got to
> duck when Jan-Erik reads this.
>
> :-)
>
> Now, if that is what you intend, I have some samples, and Stephen
> Hoffman has one of my examples on his web site. If you want details,
> just ask.
>
> Or maybe you're looking at something else ...
I thought I was pretty clear on requirements in my reply to Steven's
post when I said: -
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
If I wanted to use a VMS 3GL (C if you must) how would I go about coding
for something like : -
https://simple-push-demo.appspot.com/
curl --header "Authorization:
key=AIzaSyBBh4ddPa96rQQNxqiq_qQj7sq1JdsNQUQ" --header
Content-Type:"application/json" https://android.googleapis.com/gcm/send
-d
"{\"registration_ids\":[\"e5RuixsddSA:
APA91bF0xsDPjHF5M2mDhpRYHQ27YphccjEqN1dZfNT0bQ2HsEn0CDUmXGH_mS4lJfltF-hlhZwvB-fwcfAU3r_Okfc1a_EVLFT2EagXZxvllBTv5e9uCBeDGEofkZ-OxX4JXOhdvf4T\"]}"
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I want to PUSH a toaster notification to, possibly sleeping, web apps.
Sure it's only Chrome at the moment but Apple and Microsoft are coming
out with their centres and RFCs are coming out and I'm punting that
*this* is the future of unsolicited (but approved) notifications.
https://developers.google.com/cloud-messaging/
or
https://en.wikipedia.org/wiki/Apple_Push_Notification_Service
More information about the Info-vax
mailing list