
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
REST is a useful pattern for client-server interaction, but for simple scenarios setting up an entire HTTP stack is overkill. This gem provides a classes to allow for REST over UDP using a http-like protocol, as well as a curl like app for making requests from the command line.
The request and response size is limited 512 bytes, so this model is only appropriate for certain apis.
There is a udp rest server running on uhttp.reednj.com, port 7890.
gem install udp_rest
udp-rest uhttp.reednj.com:7890
Some other urls to try are:
Use the UDPRest::Client
class to make requests programmatically
UDPRest::Client.get('uhttp://uhttp.reednj.com:7890')
UDPRest::Client.post('uhttp://uhttp.reednj.com:7890')
Use the UDPRest::Server
class to create simple sinatra-style servers
UDPRest::Server.new(:port => 7890) do |s|
s.get '/'
'hello, world!'
end
s.get '/time'
Time.now.to_s
end
end
FAQs
Unknown package
We found that udp_rest demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.