Skip to content

Commit

Permalink
Use CypressUrl when useful [feenkcom/gtoolkit#4322]
Browse files Browse the repository at this point in the history
  • Loading branch information
hellerve committed Mar 4, 2025
1 parent 15e66b3 commit 656d388
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Extension { #name : 'CypressHierarchicalUrl' }

{ #category : '*GToolkit-GemStone-GemStone' }
CypressHierarchicalUrl >> / aString [
path addAll: ($/ split: aString)
]
8 changes: 7 additions & 1 deletion src/GToolkit-GemStone-GemStone/GtGemstoneHttpClient.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ GtGemstoneHttpClient >> contents: aDict [

{ #category : 'other' }
GtGemstoneHttpClient >> post [
^ {} asDictionary
| socket |
socket := GsSocket new.
(socket connectTo: self url port on: self url authority)
ifFalse: [
socket close.
Error signal: 'Unable to connect to target.' ].
socket close
]

{ #category : 'other' }
Expand Down

0 comments on commit 656d388

Please sign in to comment.