CodeQL library for Ruby
codeql/ruby-all 4.1.6 (changelog, source)
Search

Module NetHttp

Provides modeling for the Net::HTTP library.

Import path

import codeql.ruby.frameworks.http_clients.NetHttp

Classes

NetHttpRequest

A Net::HTTP call which initiates an HTTP request. ruby Net::HTTP.get("http://example.com/") Net::HTTP.post("http://example.com/", "some_data") req = Net::HTTP.new("example.com") response = req.get("/")