Skip to content

Support using sockaddr_un scheme with Invoke-RestMethod. #8314

@tdaniely

Description

@tdaniely

Summary of the new feature/enhancement

Support using "sockaddr_un" (AF_UNIX sockets) with Invoke-RestMethod.

Proposed technical implementation details

Example usage:
`Invoke-RestMethod sockaddr_un://var/run/docker.sock/containers/json

As far as I understand the socket layer should behave the same so no big changes in the code, except adding the scheme and address family option. I don't think this should affect Powershell code.
System.Uri will need to support new scheme, which obviously means changes in framework & core.

Metadata

Metadata

Assignees

No one assigned

    Labels

    In-PRIndicates that a PR is out for the issueWG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions