mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-05 00:02:38 -04:00
21 lines
370 B
Plaintext
21 lines
370 B
Plaintext
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
|