135af99222f238ecba4c0673e832034896741326jim<!DOCTYPE modulesynopsis SYSTEM "/style/modulesynopsis.dtd">
135af99222f238ecba4c0673e832034896741326jim<?xml-stylesheet type="text/xsl" href="/style/manual.en.xsl"?>
b64a46dfbb92ef707e04a2804fe91a450491514fnd<!-- $LastChangedRevision$ -->
135af99222f238ecba4c0673e832034896741326jim Licensed to the Apache Software Foundation (ASF) under one or more
135af99222f238ecba4c0673e832034896741326jim contributor license agreements. See the NOTICE file distributed with
135af99222f238ecba4c0673e832034896741326jim this work for additional information regarding copyright ownership.
135af99222f238ecba4c0673e832034896741326jim The ASF licenses this file to You under the Apache License, Version 2.0
135af99222f238ecba4c0673e832034896741326jim (the "License"); you may not use this file except in compliance with
135af99222f238ecba4c0673e832034896741326jim the License. You may obtain a copy of the License at
135af99222f238ecba4c0673e832034896741326jim Unless required by applicable law or agreed to in writing, software
135af99222f238ecba4c0673e832034896741326jim distributed under the License is distributed on an "AS IS" BASIS,
135af99222f238ecba4c0673e832034896741326jim WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
135af99222f238ecba4c0673e832034896741326jim See the License for the specific language governing permissions and
135af99222f238ecba4c0673e832034896741326jim limitations under the License.
2544c1693130c0a3106f2ff2c0ef7e3cf0a228e0jim<description>Websockets support module for
3cbfdb99d492b7f9451ec3caa092a71f647fe2abtrawick<compatibility>Available in httpd 2.4.5 and later</compatibility>
135af99222f238ecba4c0673e832034896741326jim >mod_proxy</module>. It provides support for the tunnelling of web
135af99222f238ecba4c0673e832034896741326jim socket connections to a backend websockets server. The connection
135af99222f238ecba4c0673e832034896741326jim is automagically upgraded to a websocket connection:</p>
135af99222f238ecba4c0673e832034896741326jimUpgrade: WebSocket
135af99222f238ecba4c0673e832034896741326jimConnection: Upgrade
135af99222f238ecba4c0673e832034896741326jim </highlight>
135af99222f238ecba4c0673e832034896741326jim <example><title>Proxying requests to websockets server</title>
2fae9d127f7143fabe8f73958eb9bde31df17d41coarProxyPass "/ws2/" "ws://echo.websocket.org/"
2fae9d127f7143fabe8f73958eb9bde31df17d41coarProxyPass "/wss2/" "wss://echo.websocket.org/"
135af99222f238ecba4c0673e832034896741326jim </highlight>
135af99222f238ecba4c0673e832034896741326jim </example>
54d750a84a175d8e338880514d440773eb986b50covener<directivesynopsis>
54d750a84a175d8e338880514d440773eb986b50covener<description>Instructs this module to try to create an asynchronous tunnel</description>
54d750a84a175d8e338880514d440773eb986b50covener</contextlist>
5d01f40ffd657dd2ac567aacd93cabd162ddfa79coar <p>This directive instructs the server to try to create an asynchronous tunnel.
5d01f40ffd657dd2ac567aacd93cabd162ddfa79coar If the current MPM does not support the necessary features, a synchronous
54d750a84a175d8e338880514d440773eb986b50covener tunnel is used.</p>
5d01f40ffd657dd2ac567aacd93cabd162ddfa79coar <note><title>Note</title><p>Async support is experimental and subject
54d750a84a175d8e338880514d440773eb986b50covener</directivesynopsis>
54d750a84a175d8e338880514d440773eb986b50covener<directivesynopsis>
54d750a84a175d8e338880514d440773eb986b50covener<description>Sets the maximum amount of time to wait for data on the websockets tunnel</description>
54d750a84a175d8e338880514d440773eb986b50covener<syntax>ProxyWebsocketIdleTimeout <var>num</var>[ms]</syntax>
54d750a84a175d8e338880514d440773eb986b50covener</contextlist>
5d01f40ffd657dd2ac567aacd93cabd162ddfa79coar <p>This directive imposes a maximum amount of time for the tunnel to be
259878293a997ff49f5ddfc53d3739cbdc25444ecovener left open while idle.</p>
54d750a84a175d8e338880514d440773eb986b50covener</directivesynopsis>
54d750a84a175d8e338880514d440773eb986b50covener<directivesynopsis>
54d750a84a175d8e338880514d440773eb986b50covener<description>Sets the amount of time the tunnel waits synchronously for data</description>
060be1d2fbafc7ff7e52558274af1995c7bc9d70covener<syntax>ProxyWebsocketAsyncDelay <var>num</var>[ms]</syntax>
54d750a84a175d8e338880514d440773eb986b50covener</contextlist>
5d01f40ffd657dd2ac567aacd93cabd162ddfa79coar <p>If <directive>ProxyWebsocketAsync</directive> is enabled, this directive
54d750a84a175d8e338880514d440773eb986b50covener controls how long the server synchronously waits for more data.</p>
5d01f40ffd657dd2ac567aacd93cabd162ddfa79coar <note><title>Note</title><p>Async support is experimental and subject
54d750a84a175d8e338880514d440773eb986b50covener</directivesynopsis>
135af99222f238ecba4c0673e832034896741326jim</modulesynopsis>