Prepare the UI or other parts of the program before executing the REST request

Property definitions

app $ AsyncHttpRequest :: before
	# Prepare the UI or other parts of the program before executing the REST request
	fun before do end
lib/app/http_request.nit:124,2--125,18

app $ MyHttpRequest :: before
	redef fun before
	do
		win.label_response.text = "Sending request..."

		# Disable button to prevent double requests
		win.button_request.enabled = false
	end
lib/app/examples/http_request_example.nit:43,2--49,4