Home | History | Annotate | Download | only in mod_pywebsocket

Lines Matching refs:send_quota

226 def _create_new_channel_slot(slots, send_quota, outer_frame_mask=False):
229 if send_quota < 0 or send_quota >= 2 ** 32:
230 raise ValueError('Invalid send quota: %d' % send_quota)
232 send_quota_size = _size_of_number_in_bytes_minus_1(send_quota)
237 _encode_number(slots) + _encode_number(send_quota))
401 control_block.send_quota = self._read_number(quota_size)
652 def __init__(self, request, send_quota, receive_quota):
657 send_quota: Initial send quota.
668 self._send_quota = send_quota
731 def replenish_send_quota(self, send_quota):
735 self._send_quota += send_quota
1012 def __init__(self, request, dispatcher, send_quota, receive_quota):
1017 send_quota: Initial send quota.
1022 self._send_quota = send_quota
1130 logical_request, send_quota=self.original_request.mux_quota):
1140 def add_channel_slots(self, slots, send_quota):
1145 send_quota: initial send quota for slots.
1148 self._channel_slots.extend([send_quota] * slots)
1150 frame_data = _create_new_channel_slot(slots, send_quota)
1260 def _do_handshake_for_logical_request(self, request, send_quota=0):
1267 send_quota, receive_quota)
1321 block.send_quota)