Sha256: b4fc73c1f9eee28a10d44523fb327e3bd507f3fdd65b79ba473df48f0e9e91a2

Contents?: true

Size: 370 Bytes

Versions: 33

Compression:

Stored size: 370 Bytes

Contents

module HTTPX
  class UDP
    include Loggable

    def initialize: (String ip, Integer port, Options options) -> void

    def to_io: () -> ::IO

    def connect: () -> void

    def connected?: () -> bool

    # :nocov:
    def close: () -> void

    def read: (Integer size, ?(Buffer | String) buffer) -> Integer?

    def write: (Buffer buffer) -> Integer?
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
httpx-1.0.0 sig/io/udp.rbs
httpx-0.24.6 sig/io/udp.rbs
httpx-0.24.5 sig/io/udp.rbs
httpx-0.24.4 sig/io/udp.rbs
httpx-0.24.3 sig/io/udp.rbs
httpx-0.24.2 sig/io/udp.rbs
httpx-0.24.1 sig/io/udp.rbs
httpx-0.24.0 sig/io/udp.rbs
httpx-0.23.4 sig/io/udp.rbs
httpx-0.23.3 sig/io/udp.rbs
httpx-0.23.2 sig/io/udp.rbs
httpx-0.23.1 sig/io/udp.rbs
httpx-0.23.0 sig/io/udp.rbs