B4J Library [B4X] xHttpServer

Darsiar

Member
More precisely, when compiling your example, it writes:
Compilation of the generated Java code. Error
Can't find: C: \ Program Files (x86) \ Anywhere Software \ B4J \ libraries \ jreflection.jar
--------------
When compiling our example with your library, writes:
Compilation of the generated Java code. Error
Can't find: C: \ Program Files (x86) \ Anywhere Software \ B4J \ libraries \ network.jar

-----------
ATTENTION: The paths specified in the message do not match the path to our libraries folder at all. Why - we do not know. There have never been such messages before ...
 

Star-Dust

Expert
Licensed User
Maybe it is using the B4A library on the B4J ide
 

Star-Dust

Expert
Licensed User
Update 0.74
  • Completed jQuery class
  • Extended WebSocket example and completed in all its parts

1623313792361.png

1623313857295.png

1623313910330.png


If you want to understand more about jQuery go to this thread
 
Last edited:

Star-Dust

Expert
Licensed User
Here you can try the example of a queue eliminator made with xHttpServer and WebSocket. The server is B4X, the client uses the browser of the device
 

Star-Dust

Expert
Licensed User
Dear Star Dust!
Can you (urgently) enter an accessible boolean variable into the server that blocks the loading progress event?
When I have completed the work and tested, I will release the final version, for now consider it a beta version.

Question: When the server opens a new request (Svr_Handle), is it already independent and parallel to the main thread?
From this event, can we launch a copy of the object of our script interpreter (dynamic page interpreter and script), and each instance will work without blocking other instances and the main thread?
At the moment a connection is accepted, data streaming is handled by an instance of the ServletRequest class and an instance of the ServletResponse class. They are not managed by the httpServer main class.

Also Android 4+ doesn't allow apps to make network calls on the main thread (see here) so
 

Star-Dust

Expert
Licensed User
Update 0.75
  • Removed UploadProgress event to make upload faster
 
Top