ing
This commit is contained in:
parent
2fccbc85bb
commit
a5ebfb95c5
4
pom.xml
4
pom.xml
|
@ -188,3 +188,7 @@
|
||||||
</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