]> gerrit.simantics Code Review - simantics/platform.git/commit
Improvements to SCL HTTP client 08/1808/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Tue, 29 May 2018 07:29:45 +0000 (10:29 +0300)
committerJussi Koskela <jussi.koskela@semantum.fi>
Tue, 29 May 2018 07:29:45 +0000 (10:29 +0300)
commitfd0240aa431974075a4053c763994310cebcb342
tree7255791ecad1897c531a667adccdd424bd4c03ba
parent8daf1d98d61e83fc6450ddac8e800476a9d52ab3
Improvements to SCL HTTP client

Add missing Proc effect to buildClient function. Function to read
content length from response. Function to read headers from response.
Option to add read / write progress callback functions.

gitlab #11

Change-Id: Iaff99e05e35a494b154d7d5b04bd936bb95b0407
bundles/org.simantics.scl.rest/META-INF/MANIFEST.MF
bundles/org.simantics.scl.rest/scl/HTTP/Client.scl
bundles/org.simantics.scl.rest/src/org/simantics/scl/rest/HttpClientUtils.java
bundles/org.simantics.scl.rest/src/org/simantics/scl/rest/ReadProgressInterceptor.java [new file with mode: 0644]
bundles/org.simantics.scl.rest/src/org/simantics/scl/rest/WriteProgressInterceptor.java [new file with mode: 0644]