[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is There Any Means to Call an External Site/API from a Controller?

From: jgart
Subject: Re: Is There Any Means to Call an External Site/API from a Controller?
Date: Tue, 27 Dec 2022 19:25:02 +0000


What do you think of having an offshoot of artanis that is more tiny like 

My use case is that I don't need the project generation stuff, etc.


December 27, 2022 12:35 PM, "Nala Ginrut" <> wrote:

> Hi Jaft!
> First, it is recommended to use (artanis client).
> artanis:http-get is based on guile-curl, I don't remember the last
> status of non-blocking with it, but if it's still blocking, I'll manage
> to handle the non-blocking in (artanis client) module.
> Best regards.
> Jaft writes:
>> I know this was discussed in the past but it's been a while since I've used 
>> Artanis and I was
>> wondering if anything was different?
>> The open-socket-for-uri and fcntl method, while avoiding the
>> Error: (wrong-type-arg #f Wrong type (expecting ~A): ~S (resumable 
>> continuation #<vm-continuation
>> 7f52391628e0>) (#<vm-continuation 7f52391628e0>))
>> Ingore it to avoid Ragnarok crash.
>> error, still causes the Artanis endpoint to hang and not move on to finish 
>> the controller call.
>> I just wanted to double check whether it was still not possible to call 
>> external HTTP(S) calls from
>> within a controller.
> --
> GNU Powered it
> GPL Protected it
> GOD Blessed it
> HFG - NalaGinrut
> Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058

reply via email to

[Prev in Thread] Current Thread [Next in Thread]