Main Content

getServer

Get server URL for OSLC client

    Description

    example

    myServerURL = getServer(myClient) returns the server URL for the configured OSLC client myClient.

    Examples

    collapse all

    This example shows how to get the server URL for an OSLC client created in MATLAB® and configure the client to connect to an OSLC service provider for the requirements management domain.

    After you have created and configured an OSLC client as described in Create and Configure an OSLC Client for the Requirements Management Domain, get the server URL for the OSLC client myClient.

    mySeverURL = getServer(myClient)
    myServerURL =
    
        'https://localhost:9443'

    Input Arguments

    collapse all

    OSLC client, specified as an oslc.Client object.

    Output Arguments

    collapse all

    Server URL for OSLC client, returned as a character vector.

    Example: 'https://localhost:9443'

    Introduced in R2021a