B4J Question HTTP Request Header

leongcc

Member
Licensed User
Longtime User
I am re-using some B4A codes in B4J.
My application needs to send a HTTP request with a custom User-Agent.

In my original B4A's HttpJob.bas, I was able to just add req.SetHeader("User-Agent", "abc")

I am writing to ask if there is a way to do this in B4J.
It would be possible if jHTTP's HttpRequest is made public or if jHTTP's source codes is available.
 
Top