<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.1" version="1.1">
  <file original="NoName" source-language="en" datatype="plaintext" target-language="en">
    <body>
      <trans-unit xml:space="preserve" approved="no" id="9b8ca9ba43952201" weblate-flags="read-only">
        <source>Decorator</source>
        <target state="translated">Decorator</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">12</context>
        </context-group>
        <note from="developer">type: section title</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="96bd7c4d17bac1d3" weblate-flags="read-only">
        <source>For programs which need to modify either the outgoing WebSocket HTTP Upgrade request, the outgoing WebSocket HTTP Upgrade response, or both, the stream supports an optional property called a ['decorator]. This is a function pointer or callable object which is invoked before the implementation sends an HTTP message. The decorator receives a modifiable reference to the message, allowing for modifications. The interface to this system uses:</source>
        <target state="translated">For programs which need to modify either the outgoing WebSocket HTTP Upgrade request, the outgoing WebSocket HTTP Upgrade response, or both, the stream supports an optional property called a ['decorator]. This is a function pointer or callable object which is invoked before the implementation sends an HTTP message. The decorator receives a modifiable reference to the message, allowing for modifications. The interface to this system uses:</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">14</context>
        </context-group>
        <note from="developer">type: paragraph</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="99aecbcaf5cefdb4" weblate-flags="read-only">
        <source>WebSocket Decorator Interface</source>
        <target state="translated">WebSocket Decorator Interface</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">22</context>
        </context-group>
        <note from="developer">type: table title</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="b4c4db868dbf643a" weblate-flags="read-only">
        <source>Name</source>
        <target state="translated">Name</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">22</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="f7f5c115cf553484" weblate-flags="read-only">
        <source>Description</source>
        <target state="translated">Description</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">22</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="690d1f5abc09d997" weblate-flags="read-only">
        <source>[link beast.ref.boost__beast__websocket__request_type `request_type`]</source>
        <target state="translated">[link beast.ref.boost__beast__websocket__request_type `request_type`]</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">22</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="8fefce39c4c20616" weblate-flags="read-only">
        <source>This is the type of the object passed to the decorator to represent HTTP Upgrade requests.</source>
        <target state="translated">This is the type of the object passed to the decorator to represent HTTP Upgrade requests.</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">22</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="9474a864962031c0" weblate-flags="read-only">
        <source>[link beast.ref.boost__beast__websocket__response_type `response_type`]</source>
        <target state="translated">[link beast.ref.boost__beast__websocket__response_type `response_type`]</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">22</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="670dfcf6f28f634f" weblate-flags="read-only">
        <source>This is the type of the object passed to the decorator to represent HTTP Upgrade response.</source>
        <target state="translated">This is the type of the object passed to the decorator to represent HTTP Upgrade response.</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">22</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="17b3636770b96c08" weblate-flags="read-only">
        <source>[link beast.ref.boost__beast__websocket__stream_base__decorator `stream_base::decorator`]</source>
        <target state="translated">[link beast.ref.boost__beast__websocket__stream_base__decorator `stream_base::decorator`]</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">22</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="5fe82596ae18a8bc" weblate-flags="read-only">
        <source>Objects of this type are used to hold a decorator to be set on the stream using `set_option`.</source>
        <target state="translated">Objects of this type are used to hold a decorator to be set on the stream using `set_option`.</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">22</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="bca4b9b9110d74b3" weblate-flags="read-only">
        <source>[link beast.ref.boost__beast__websocket__stream.set_option `stream::set_option`]</source>
        <target state="translated">[link beast.ref.boost__beast__websocket__stream.set_option `stream::set_option`]</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">22</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="b3dacf83d3059e78" weblate-flags="read-only">
        <source>This function is used to set a `stream_base::decorator` on the stream.</source>
        <target state="translated">This function is used to set a `stream_base::decorator` on the stream.</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">22</context>
        </context-group>
        <note from="developer">type: table cell</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="a7c90a5e74ce2c59" weblate-flags="read-only">
        <source>This declares a normal function which decorates outgoing HTTP requests:</source>
        <target state="translated">This declares a normal function which decorates outgoing HTTP requests:</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">49</context>
        </context-group>
        <note from="developer">type: paragraph</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="a3ae1ce65a7836e7" weblate-flags="read-only">
        <source>When using a decorator, it must be set on the stream before any handshaking takes place. This sets the decorator on the stream, to be used for all subsequent calls to accept or handshake:</source>
        <target state="translated">When using a decorator, it must be set on the stream before any handshaking takes place. This sets the decorator on the stream, to be used for all subsequent calls to accept or handshake:</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">53</context>
        </context-group>
        <note from="developer">type: paragraph</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="8faa58a4b0ad957a" weblate-flags="read-only">
        <source>Alternatively, a function object may be used. Small function objects will not incur a memory allocation. The follow code declares and sets a function object as a decorator:</source>
        <target state="translated">Alternatively, a function object may be used. Small function objects will not incur a memory allocation. The follow code declares and sets a function object as a decorator:</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">59</context>
        </context-group>
        <note from="developer">type: paragraph</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="ef6c94751338b86d" weblate-flags="read-only">
        <source>A lambda may be used in place of a named function object:</source>
        <target state="translated">A lambda may be used in place of a named function object:</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">65</context>
        </context-group>
        <note from="developer">type: paragraph</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="67ec1e32b3ecbdd2" weblate-flags="read-only">
        <source>It also possible for a single decorator to handle both requests and responses, if it is overloaded for both types either as a generic lambda (C++14 and later) or as a class as shown here:</source>
        <target state="translated">It also possible for a single decorator to handle both requests and responses, if it is overloaded for both types either as a generic lambda (C++14 and later) or as a class as shown here:</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">69</context>
        </context-group>
        <note from="developer">type: paragraph</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="4efebc5c22a9eb91" weblate-flags="read-only">
        <source>The implementation takes ownership by decay-copy of the invocable object used as the decorator. Move-only types are possible:</source>
        <target state="translated">The implementation takes ownership by decay-copy of the invocable object used as the decorator. Move-only types are possible:</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">75</context>
        </context-group>
        <note from="developer">type: paragraph</note>
      </trans-unit>
      <trans-unit xml:space="preserve" approved="no" id="6667327d31d24029" weblate-flags="read-only">
        <source>Undefined behavior results if the decorator modifies the fields</source>
        <target state="translated">Undefined behavior results if the decorator modifies the fields</target>
        <context-group name="" purpose="location">
          <context context-type="sourcefile">81</context>
        </context-group>
        <note from="developer">type: paragraph</note>
      </trans-unit>
    </body>
  </file>
</xliff>
