Skip to main content

socket_request is parse and build HTTP requests using unix domain socket.

Project description

socket_request

socket_request는 unix domain socket으로 HTTP reuqests를 만들고 분석할 수 있다.

Examples:

import socket_request

docker = socket_request.DockerSock(unix_socket="/var/run/docker.sock")
docker.get_docker_images()
import socket_request

control_chain = socket_request.ControlChain(unix_socket="./cli.sock")
control_chain.stop()
control_chain.start()

ControlChain

  • start()
  • stop()
  • reset()
  • leave()
  • backup()
  • backup_list()
  • restore(name="name")
  • join(seed_list=["127.0.0.1:7100"], role=3)
  • view_chain(detail=False, inspect=False)
  • chain_config(payload={"key": "autoStart", "value": "true"})
  • view_system_config()
  • system_config(payload={"key": "rpcIncludeDebug", "value": "true"})

ConnectSock

DockerSock

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

socket_request-0.1.5-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file socket_request-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: socket_request-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.8

File hashes

Hashes for socket_request-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 56898dc48018cabd6721c5b838e96a9da530c36cce04367b36a34316cbeac12b
MD5 22ea3c601fd8274ad546f9fb1867de02
BLAKE2b-256 35df24d3a57691e9c0179c1ab9921ef521380dfd75f6e50d256f7b708f199115

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page