Class: Ksql::Api::HealthCheck
- Inherits:
-
Object
- Object
- Ksql::Api::HealthCheck
- Defined in:
- lib/ksql/api/health_check.rb
Constant Summary collapse
- Headers =
{ 'Accept' => 'application/json' }.freeze
Class Method Summary collapse
-
.build(headers:) ⇒ Ksql::Connection::Request
Build the ksqlDB /healthcheck request.
Class Method Details
.build(headers:) ⇒ Ksql::Connection::Request
Build the ksqlDB /healthcheck request
15 16 17 18 19 20 21 22 |
# File 'lib/ksql/api/health_check.rb', line 15 def self.build(headers:) ::Ksql::Connection::Request.new( {}, '/healthcheck', Headers.merge(headers), :get ) end |