Sure

I would like to send HTTP messages like

EVENT/1.0 200 OK
Content-Type: application/hap+json Content-Length: <length>
{
    ”characteristics” : [
{
”aid” : 1,
”iid” : 4,
”value” : 23.0 }
] }

over the HTTP connection

Tx
Karel


> On 7 Feb 2020, at 15:31, Simone Bordet <[email protected]> wrote:
> 
> Hi,
> 
> On Fri, Feb 7, 2020 at 12:22 PM Karel Goderis <[email protected]> wrote:
>> 
>> Hi all,
>> 
>> I have the need to set up an http session between a client and server that 
>> is 99% following standard HTTP/1.1 but from time to time the client has to 
>> send Http messages over that connection using a custom protocol version 
>> instead of the HTTP/1.1 verb
>> 
>> I had the same case a few months ago in the opposite way (e.g. the server 
>> sending custom protocol version messages), which I solved by implementing a 
>> custom HttpGenerator.
>> 
>> What is the equivalent solution at the client side? On a more general note, 
>> is there any documentation that explains the jetty client architecture, it 
>> is not clear how all the Http*.java classes interact with each other, and 
>> which one (HttpClientTransport?) has to be modified in this case?
> 
> Can you please make a clear example so we understand better what
> you're trying to do?
> 
> -- 
> Simone Bordet
> ----
> http://cometd.org
> http://webtide.com
> Developer advice, training, services and support
> from the Jetty & CometD experts.
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://www.eclipse.org/mailman/listinfo/jetty-users

_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to