sddyljsx / tcp-long-connection-based-on-apache-mina

tcp-long-connection-based-on-apache-mina
183 stars 74 forks source link

Can demo path & respond JSON ? #6

Open CMingTseng opened 4 years ago

CMingTseng commented 4 years ago

Dear Sir

now. the tcp-long-connection demo only use IP

if i want do like. RESTful API with path

EX :

192.168.0.1/functionA/action

and get JSON type respond

EX :

{ "result_code"=1, "result_msg"="Yes,Go Demo' }

how to do that. ?

THX