Sha256: 8306639ded469de4b887dbb220122046498123bfab703accdaa1f480c3fb0338
Contents?: true
Size: 694 Bytes
Versions: 3
Compression:
Stored size: 694 Bytes
Contents
# Copyright (c) 2020 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true cs__scoped_require 'contrast/api/communication/socket' module Contrast module Api module Communication # Implements a UNIX domain socket to connect to the Contrast Service. class UnixSocket include Contrast::Api::Communication::Socket attr_reader :path # Create the socket # @param path [String] file path to a UNIX domain socket def initialize path @path = path end def new_socket ::UNIXSocket.new(path) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems