ing
This commit is contained in:
parent
2fccbc85bb
commit
a5ebfb95c5
6
pom.xml
6
pom.xml
|
@ -187,4 +187,8 @@
|
||||||
|
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
cp ./target/com.loafle.overflow.container_general-1.0.0-SNAPSHOT.jar /project/go/src/git.loafle.net/overflow/probe/_build/bin/container_general.jar
|
||||||
|
-->
|
|
@ -38,7 +38,7 @@ public class GeneralContainerConfiguration {
|
||||||
public WebSocketClientHandshaker handshaker() {
|
public WebSocketClientHandshaker handshaker() {
|
||||||
HttpHeaders customHeaders = new DefaultHttpHeaders();
|
HttpHeaders customHeaders = new DefaultHttpHeaders();
|
||||||
customHeaders.add(ContainerProtocol.HTTPRequestHeaderKey_Container_Method, ContainerProtocol.HTTPRequestHeaderValue_Container_Method_Connect);
|
customHeaders.add(ContainerProtocol.HTTPRequestHeaderKey_Container_Method, ContainerProtocol.HTTPRequestHeaderValue_Container_Method_Connect);
|
||||||
customHeaders.add(ContainerProtocol.HTTPRequestHeaderKey_Container_Type, ContainerType.GENERNAL.toString());
|
customHeaders.add(ContainerProtocol.HTTPRequestHeaderKey_Container_Type, ContainerType.GENERAL.toString());
|
||||||
|
|
||||||
return WebSocketClientHandshakerFactory.newHandshaker(serverURI, WebSocketVersion.V13, null, false, customHeaders);
|
return WebSocketClientHandshakerFactory.newHandshaker(serverURI, WebSocketVersion.V13, null, false, customHeaders);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user